public interface FederatedChangeEvent extends Event<FederatedChangeEvent.Type>
ChangeRecord
Modifier and Type | Interface and Description |
---|---|
static class |
FederatedChangeEvent.Type
The types of s.
|
Modifier and Type | Method and Description |
---|---|
<K,V> Map<String,Iterable<ChangeRecord<K,V>>> |
getChanges()
Obtain the
ChangeRecord s that are part of a transaction, organized by the name of the cache on which the changes occurred. |
String |
getParticipant()
Obtain the name of the
Participant for the FederatedChangeEvent . |
getDispatcher, getType, nextInterceptor
<K,V> Map<String,Iterable<ChangeRecord<K,V>>> getChanges()
ChangeRecord
s that are part of a transaction, organized by the name of the cache on which the changes occurred.ChangeRecord
sString getParticipant()
Participant
for the FederatedChangeEvent
.
For the FederatedChangeEvent.Type.COMMITTING_LOCAL
and FederatedChangeEvent.Type.COMMITTING_REMOTE
events this will be the local Participant
name.
For the FederatedChangeEvent.Type.REPLICATING
event this will be either a remote Participant
name or an interceptor Participant
name. Therefore, the interceptor must filter the events by the Participant
name to get the events intended for it.
Participant
name.