public class RemoveReplicationPacketData extends SingleReplicationPacketData implements IReplicationTransactionalPacketEntryData
AbstractReplicationPacketSingleEntryData.SingleEntryIterator, AbstractReplicationPacketSingleEntryData.SingleFilterIterable
Constructor and Description |
---|
RemoveReplicationPacketData() |
RemoveReplicationPacketData(IEntryPacket entry,
boolean fromGateway,
IEntryData entryData,
boolean fullEntryPacket) |
RemoveReplicationPacketData(IEntryPacket entry,
boolean fromGateway,
IEntryData entryData,
boolean fullEntryPacket,
boolean backupOnly) |
Modifier and Type | Method and Description |
---|---|
void |
batchExecuteTransactional(IReplicationInBatchContext context,
ITransactionalBatchExecutionCallback executionCallback) |
boolean |
beforeDelayedReplication()
If the replication of this packet is delayed due to being asynchronous by nature or the
target was disconnected when the replication packet was generated, this method is called
before the actual replication and the implementor can modify the packet accordingly, mostly
relevant for time to live update.
|
RemoveReplicationPacketData |
clone() |
boolean |
containsFullEntryData() |
void |
execute(IReplicationInContext context,
IReplicationInFacade inReplicationHandler,
ReplicationPacketDataMediator dataMediator) |
void |
executeTransactional(IReplicationInContext context,
ITransactionalExecutionCallback transactionExecutionCallback,
Transaction transaction,
boolean twoPhaseCommit) |
boolean |
filterIfNotPresentInReplicaState() |
protected int |
getFilterObjectType(IServerTypeDesc serverTypeDesc) |
protected ReplicationOperationType |
getFilterReplicationOpType() |
IEntryData |
getMainEntryData() |
ReplicationSingleOperationType |
getOperationType() |
boolean |
isBackupOnly() |
void |
readExternal(ObjectInput in) |
void |
readFromSwap(ObjectInput in) |
String |
toString() |
void |
writeExternal(ObjectOutput out) |
void |
writeToSwap(ObjectOutput out) |
cloneWithEntryPacket, getEntryPacket, getOperationId, getOrderCode, getSecondaryEntryData, getTypeDescriptor, getUid, isTransient, toFilterEntry, updateEntryPacketTimeToLiveIfNeeded
add, addAll, clear, contains, containsAll, createEmptyMultipleEntryData, deserializeEntryData, getBlobstoreBulkId, getCustomContent, getMainTypeName, getMultipleOperationType, getRecoveryFilteringId, getSingleEntryData, getWeight, isEmpty, isFromGateway, isMultiParticipantData, isPartOfBlobstoreBulk, isSingleEntryData, iterator, remove, removeAll, requiresRecoveryDuplicationProtection, requiresRecoveryFiltering, retainAll, serializeEntryData, setBlobstoreBulkId, setWeight, size, supportsReplicationFilter, toArray, toArray, toFilterEntries, updateTimeToLiveIfNeeded
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
toFilterEntry
getOperationId, getOrderCode, getUid, isFromGateway, isTransient, requiresRecoveryDuplicationProtection
enabledSmartExternalizableWithReference
equals, hashCode, parallelStream, removeIf, spliterator, stream
public RemoveReplicationPacketData()
public RemoveReplicationPacketData(IEntryPacket entry, boolean fromGateway, IEntryData entryData, boolean fullEntryPacket)
public RemoveReplicationPacketData(IEntryPacket entry, boolean fromGateway, IEntryData entryData, boolean fullEntryPacket, boolean backupOnly)
public RemoveReplicationPacketData clone()
clone
in interface IReplicationPacketData<IReplicationPacketEntryData>
clone
in interface IReplicationTransactionalPacketEntryData
clone
in class SingleReplicationPacketData
public void execute(IReplicationInContext context, IReplicationInFacade inReplicationHandler, ReplicationPacketDataMediator dataMediator) throws Exception
execute
in interface IExecutableReplicationPacketData<IReplicationPacketEntryData>
Exception
public void executeTransactional(IReplicationInContext context, ITransactionalExecutionCallback transactionExecutionCallback, Transaction transaction, boolean twoPhaseCommit) throws Exception
executeTransactional
in interface IReplicationTransactionalPacketEntryData
Exception
public void batchExecuteTransactional(IReplicationInBatchContext context, ITransactionalBatchExecutionCallback executionCallback) throws Exception
batchExecuteTransactional
in interface IReplicationTransactionalPacketEntryData
Exception
public boolean beforeDelayedReplication()
IReplicationTransactionalPacketEntryData
beforeDelayedReplication
in interface IReplicationPacketData<IReplicationPacketEntryData>
beforeDelayedReplication
in interface IReplicationTransactionalPacketEntryData
protected int getFilterObjectType(IServerTypeDesc serverTypeDesc)
getFilterObjectType
in class SingleReplicationPacketData
protected ReplicationOperationType getFilterReplicationOpType()
getFilterReplicationOpType
in class SingleReplicationPacketData
public ReplicationSingleOperationType getOperationType()
getOperationType
in interface IReplicationPacketEntryData
public boolean filterIfNotPresentInReplicaState()
filterIfNotPresentInReplicaState
in interface IReplicationPacketEntryData
public IEntryData getMainEntryData()
getMainEntryData
in class SingleReplicationPacketData
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
writeExternal
in class SingleReplicationPacketData
IOException
public boolean containsFullEntryData()
containsFullEntryData
in interface IReplicationPacketEntryData
containsFullEntryData
in class SingleReplicationPacketData
public boolean isBackupOnly()
isBackupOnly
in interface IReplicationPacketEntryData
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
readExternal
in class SingleReplicationPacketData
IOException
ClassNotFoundException
public void writeToSwap(ObjectOutput out) throws IOException
writeToSwap
in interface ISwapExternalizable
writeToSwap
in class SingleReplicationPacketData
IOException
public void readFromSwap(ObjectInput in) throws IOException, ClassNotFoundException
readFromSwap
in interface ISwapExternalizable
readFromSwap
in class SingleReplicationPacketData
IOException
ClassNotFoundException
Copyright © GigaSpaces.