Interface SharedValueListener

  • All Superinterfaces:
    org.apache.curator.framework.state.ConnectionStateListener

    public interface SharedValueListener
    extends org.apache.curator.framework.state.ConnectionStateListener
    Listener for changes to a shared value
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void valueHasChanged​(SharedValueReader sharedValue, byte[] newValue)
      Called when the shared value has changed
      • Methods inherited from interface org.apache.curator.framework.state.ConnectionStateListener

        doNotDecorate, stateChanged
    • Method Detail

      • valueHasChanged

        void valueHasChanged​(SharedValueReader sharedValue,
                             byte[] newValue)
                      throws java.lang.Exception
        Called when the shared value has changed
        Parameters:
        sharedValue - the shared value instance
        newValue - the new value
        Throws:
        java.lang.Exception - errors