Add Javadocs for exceptions that are handled by ShardStateAction
This commit is contained in:
parent
5a5d7881ed
commit
8f67dcc348
|
@ -377,6 +377,21 @@ public class ShardStateAction extends AbstractComponent {
|
||||||
default void onSuccess() {
|
default void onSuccess() {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Notification for non-channel exceptions that are not handled
|
||||||
|
* by {@link ShardStateAction}.
|
||||||
|
*
|
||||||
|
* The exceptions that are handled by {@link ShardStateAction}
|
||||||
|
* are:
|
||||||
|
* - {@link NotMasterException}
|
||||||
|
* - {@link NodeDisconnectedException}
|
||||||
|
* - {@link Discovery.FailedToCommitClusterStateException}
|
||||||
|
*
|
||||||
|
* Any other exception is communicated to the requester via
|
||||||
|
* this notification.
|
||||||
|
*
|
||||||
|
* @param e the unexpected cause of the failure on the master
|
||||||
|
*/
|
||||||
default void onShardFailedFailure(final Exception e) {
|
default void onShardFailedFailure(final Exception e) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue