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 voidonFailure(java.lang.Exception e)Notification for non-channel exceptions that are not handled byShardStateAction.default voidonSuccess()
-
-
-
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 byShardStateActionare: -NotMasterException-NodeDisconnectedException-Discovery.FailedToCommitClusterStateExceptionAny other exception is communicated to the requester via this notification.- Parameters:
e- the unexpected cause of the failure on the master
-
-