public static interface ShardStateAction.Listener
Modifier and Type | Method and Description |
---|---|
default void |
onFailure(java.lang.Exception e)
Notification for non-channel exceptions that are not handled
by
ShardStateAction . |
default void |
onSuccess() |
default void onSuccess()
default void onFailure(java.lang.Exception e)
ShardStateAction
.
The exceptions that are handled by ShardStateAction
are:
- NotMasterException
- NodeDisconnectedException
- Discovery.FailedToCommitClusterStateException
Any other exception is communicated to the requester via
this notification.e
- the unexpected cause of the failure on the master