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