public class ReplicationParticipantsMediator extends Object implements IReplicationParticipantsMediator
Constructor and Description |
---|
ReplicationParticipantsMediator() |
Modifier and Type | Method and Description |
---|---|
boolean |
abortConsolidation(IReplicationParticipantsMetadata participantsMetadata)
Attempts to abort consolidation for the provided meta data.
|
IReplicationPacketData<?>[] |
getAllParticipantsData(MultiSourceProcessLogPacket packet)
Gets all data for a multiple participants replication operation.
|
boolean |
isConsumed(Object contextId) |
void |
remove(IReplicationParticipantsMetadata participantsMetadata)
Removes multiple participant context from mediator according to the provided meta data.
|
void |
setConsumed(IReplicationParticipantsMetadata participantsMetadata)
Sets the provided contextId as consumed.
|
public IReplicationPacketData<?>[] getAllParticipantsData(MultiSourceProcessLogPacket packet)
IReplicationParticipantsMediator
getAllParticipantsData
in interface IReplicationParticipantsMediator
packet
- The packet to be added to the context in case not all packets arrived.public boolean isConsumed(Object contextId)
isConsumed
in interface IReplicationParticipantsMediator
public void setConsumed(IReplicationParticipantsMetadata participantsMetadata)
IReplicationParticipantsMediator
setConsumed
in interface IReplicationParticipantsMediator
public void remove(IReplicationParticipantsMetadata participantsMetadata)
IReplicationParticipantsMediator
remove
in interface IReplicationParticipantsMediator
public boolean abortConsolidation(IReplicationParticipantsMetadata participantsMetadata)
IReplicationParticipantsMediator
abortConsolidation
in interface IReplicationParticipantsMediator
Copyright © GigaSpaces.