Interface ClusterApplier.ClusterApplyListener

Enclosing interface:
ClusterApplier

public static interface ClusterApplier.ClusterApplyListener
Listener for results of cluster state application
  • Method Summary

    Modifier and Type Method Description
    void onFailure​(java.lang.String source, java.lang.Exception e)
    Called on failure during cluster state application
    default void onSuccess​(java.lang.String source)
    Called on successful cluster state application
  • Method Details

    • onSuccess

      default void onSuccess​(java.lang.String source)
      Called on successful cluster state application
      Parameters:
      source - information where the cluster state came from
    • onFailure

      void onFailure​(java.lang.String source, java.lang.Exception e)
      Called on failure during cluster state application
      Parameters:
      source - information where the cluster state came from
      e - exception that occurred