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
    Called on failure during cluster state application
    default void
    onSuccess(String source)
    Called on successful cluster state application
  • Method Details

    • onSuccess

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

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