public static interface ReplicatedEntity.EventTaggingContext
| Modifier and Type | Method and Description |
|---|---|
boolean |
isSelfOriginDc()
Convenience method to check if the
originDc of the current event is the same as the datacenter
the ReplicatedEntity is currently running in. |
java.lang.String |
originDc()
Datacenter name in which this event was originally persisted.
|
boolean isSelfOriginDc()
originDc of the current event is the same as the datacenter
the ReplicatedEntity is currently running in.java.lang.String originDc()
If it is equal to Cluster.selfDataCenter it is a local event,
and if not, it's a replicated event from the that datacenter.