public interface UpdateEventChannel
Modifier and Type | Method and 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.
|
void updateCreated(Update update) throws ClusterException
update
- update operationClusterException
- if an error occurs writing to the event channel.void updatePrepared(Update update) throws ClusterException
update
- update operationClusterException
- if an error occurs writing to the event channel.void updateCommitted(Update update, String path)
update
- update operationpath
- the change pathvoid updateCancelled(Update update)
update
- update operationvoid setListener(UpdateEventListener listener)
listener
- update event listenerCopyright © 2004–2021 The Apache Software Foundation. All rights reserved.