public abstract class SyncEventListener
extends java.lang.Object
Represents the base event listener for replication event.
Constructor and Description |
---|
SyncEventListener() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCollectionName()
Gets the source collection name.
|
abstract void |
onSyncEvent(SyncEventData eventInfo)
Listener routine to be invoked for each replication event.
|
void |
setCollectionName(java.lang.String collectionName)
Gets the source collection name.
|
public abstract void onSyncEvent(SyncEventData eventInfo)
Listener routine to be invoked for each replication event.
eventInfo
- the replication event data@Generated(value="lombok") public java.lang.String getCollectionName()
Gets the source collection name.
@Generated(value="lombok") public void setCollectionName(java.lang.String collectionName)
Gets the source collection name.
collectionName
- source collection name