Package org.apache.solr.common.cloud
Interface OnReconnect
- All Superinterfaces:
org.apache.curator.framework.state.ConnectionStateListener
public interface OnReconnect
extends org.apache.curator.framework.state.ConnectionStateListener
Implementations are expected to implement a correct hashCode and equals method needed to uniquely
identify the listener as listeners are managed in a Set. In addition, your listener
implementation should call
org.apache.solr.cloud.ZkController#removeOnReconnectListener(OnReconnect) when it no longer needs
to be notified of ZK reconnection events.
-
Method Summary
Modifier and TypeMethodDescriptionvoiddefault voidstateChanged(org.apache.curator.framework.CuratorFramework client, org.apache.curator.framework.state.ConnectionState newState) Methods inherited from interface org.apache.curator.framework.state.ConnectionStateListener
doNotProxy
-
Method Details
-
onReconnect
void onReconnect() -
stateChanged
default void stateChanged(org.apache.curator.framework.CuratorFramework client, org.apache.curator.framework.state.ConnectionState newState) - Specified by:
stateChangedin interfaceorg.apache.curator.framework.state.ConnectionStateListener
-