Interface UpdateEventChannel

  • All Known Implementing Classes:
    DummyUpdateEventChannel

    public interface UpdateEventChannel
    Event channel used to transmit update operations.
    • Method Detail

      • updateCreated

        void updateCreated​(Update update)
                    throws ClusterException
        Called when an a update operation has been created.
        Parameters:
        update - update operation
        Throws:
        ClusterException - if an error occurs writing to the event channel.
      • updatePrepared

        void updatePrepared​(Update update)
                     throws ClusterException
        Called when an a update operation has been prepared.
        Parameters:
        update - update operation
        Throws:
        ClusterException - if an error occurs writing to the event channel.
      • updateCommitted

        void updateCommitted​(Update update,
                             String path)
        Called when an a update operation has been committed.
        Parameters:
        update - update operation
        path - the change path
      • updateCancelled

        void updateCancelled​(Update update)
        Called when an a update operation has been cancelled.
        Parameters:
        update - update operation
      • setListener

        void setListener​(UpdateEventListener listener)
        Set listener that will receive information about incoming, external update events.
        Parameters:
        listener - update event listener