public class SyncEventData
extends java.lang.Object
implements java.io.Serializable
Represents the event data for a replication event.
| Constructor and Description |
|---|
SyncEventData() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getCollectionName()
Indicates the source collection name.
|
java.lang.Throwable |
getError()
Indicates error during replication.
|
EventType |
getEventType()
Indicates the replication
EventType. |
void |
setCollectionName(java.lang.String collectionName)
Indicates the source collection name.
|
void |
setError(java.lang.Throwable error)
Indicates error during replication.
|
void |
setEventType(EventType eventType)
Indicates the replication
EventType. |
public java.lang.String getCollectionName()
Indicates the source collection name.
public EventType getEventType()
Indicates the replication EventType.
public java.lang.Throwable getError()
Indicates error during replication.
public void setCollectionName(java.lang.String collectionName)
Indicates the source collection name.
collectionName - source collection namepublic void setEventType(EventType eventType)
Indicates the replication EventType.
eventType - replication event typepublic void setError(java.lang.Throwable error)
Indicates error during replication.
error - replication error