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