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.ConnectionStateListener
ConnectionStateListener which records the last state it was notified about.
  • Method Summary

    Modifier and Type
    Method
    Description
    Optional<org.apache.flink.shaded.curator5.org.apache.curator.framework.state.ConnectionState>
    Return the last state the listener was notified about.

    Methods inherited from interface org.apache.flink.shaded.curator5.org.apache.curator.framework.state.ConnectionStateListener

    doNotProxy, stateChanged
  • Method Details

    • 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