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 . |
@Generated(value="lombok") public java.lang.String getCollectionName()
Indicates the source collection name.
@Generated(value="lombok") public EventType getEventType()
Indicates the replication EventType
.
@Generated(value="lombok") public java.lang.Throwable getError()
Indicates error during replication.
@Generated(value="lombok") public void setCollectionName(java.lang.String collectionName)
Indicates the source collection name.
collectionName
- source collection name@Generated(value="lombok") public void setEventType(EventType eventType)
Indicates the replication EventType
.
eventType
- replication event type@Generated(value="lombok") public void setError(java.lang.Throwable error)
Indicates error during replication.
error
- replication error