Interface UpdateEventChannel
-
- All Known Implementing Classes:
DummyUpdateEventChannel
public interface UpdateEventChannel
Event channel used to transmit update operations.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
setListener(UpdateEventListener listener)
Set listener that will receive information about incoming, external update events.void
updateCancelled(Update update)
Called when an a update operation has been cancelled.void
updateCommitted(Update update, String path)
Called when an a update operation has been committed.void
updateCreated(Update update)
Called when an a update operation has been created.void
updatePrepared(Update update)
Called when an a update operation has been prepared.
-
-
-
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 operationpath
- 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
-
-