Interface LastStateConnectionStateListener
-
- All Superinterfaces:
org.apache.flink.shaded.curator5.org.apache.curator.framework.state.ConnectionStateListener
- All Known Implementing Classes:
DefaultLastStateConnectionStateListener
public interface LastStateConnectionStateListener extends org.apache.flink.shaded.curator5.org.apache.curator.framework.state.ConnectionStateListenerConnectionStateListenerwhich records the last state it was notified about.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Optional<org.apache.flink.shaded.curator5.org.apache.curator.framework.state.ConnectionState>getLastState()Return the last state the listener was notified about.
-
-
-
Method Detail
-
getLastState
Optional<org.apache.flink.shaded.curator5.org.apache.curator.framework.state.ConnectionState> getLastState()
Return the last state the listener was notified about.- Returns:
- the last state or none if the listener has not received an update
-
-