public class RemoveByUIDReplicationPacketData extends SingleUidReplicationPacketData implements IReplicationTransactionalPacketEntryData
AbstractReplicationPacketSingleEntryData.SingleEntryIterator, AbstractReplicationPacketSingleEntryData.SingleFilterIterable
_entryData
Constructor and Description |
---|
RemoveByUIDReplicationPacketData() |
RemoveByUIDReplicationPacketData(String typeName,
String uid,
boolean isTransient,
IEntryData entryData,
OperationID operationID,
boolean fromGateway) |
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.
|
RemoveByUIDReplicationPacketData |
clone() |
protected void |
executeImpl(IReplicationInContext context,
IReplicationInFacade inReplicationHandler) |
void |
executeTransactional(IReplicationInContext context,
ITransactionalExecutionCallback transactionExecutionCallback,
Transaction transaction,
boolean twoPhaseCommit) |
boolean |
filterIfNotPresentInReplicaState() |
protected int |
getFilterObjectType() |
protected ReplicationOperationType |
getFilterOldReplicationOpType() |
ReplicationSingleOperationType |
getOperationType() |
protected String |
getTypeName() |
void |
readExternal(ObjectInput in) |
void |
readFromSwap(ObjectInput in) |
IReplicationFilterEntry |
toFilterEntry(SpaceTypeManager spaceTypeManager) |
String |
toString() |
void |
writeExternal(ObjectOutput out) |
void |
writeToSwap(ObjectOutput out) |
containsFullEntryData, execute, getMainEntryData, getOperationId, getOrderCode, getSecondaryEntryData, getTimeToLiveUpdateCallback, getTypeDescriptor, getUid, isTransient
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
containsFullEntryData, getOperationId, getOrderCode, getUid, isBackupOnly, isFromGateway, isTransient, requiresRecoveryDuplicationProtection
equals, hashCode, parallelStream, removeIf, spliterator, stream
public RemoveByUIDReplicationPacketData()
public RemoveByUIDReplicationPacketData(String typeName, String uid, boolean isTransient, IEntryData entryData, OperationID operationID, boolean fromGateway)
protected void executeImpl(IReplicationInContext context, IReplicationInFacade inReplicationHandler) throws Exception
executeImpl
in class SingleUidReplicationPacketData
Exception
public void executeTransactional(IReplicationInContext context, ITransactionalExecutionCallback transactionExecutionCallback, Transaction transaction, boolean twoPhaseCommit) throws Exception
executeTransactional
in interface IReplicationTransactionalPacketEntryData
Exception
public boolean beforeDelayedReplication()
IReplicationTransactionalPacketEntryData
beforeDelayedReplication
in interface IReplicationPacketData<IReplicationPacketEntryData>
beforeDelayedReplication
in interface IReplicationTransactionalPacketEntryData
public IReplicationFilterEntry toFilterEntry(SpaceTypeManager spaceTypeManager)
toFilterEntry
in interface IReplicationTransactionalPacketEntryData
toFilterEntry
in class SingleUidReplicationPacketData
protected String getTypeName()
getTypeName
in class SingleUidReplicationPacketData
public RemoveByUIDReplicationPacketData clone()
clone
in interface IReplicationPacketData<IReplicationPacketEntryData>
clone
in interface IReplicationTransactionalPacketEntryData
clone
in class SingleUidReplicationPacketData
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
writeExternal
in class SingleUidReplicationPacketData
IOException
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
readExternal
in class SingleUidReplicationPacketData
IOException
ClassNotFoundException
public void writeToSwap(ObjectOutput out) throws IOException
writeToSwap
in interface ISwapExternalizable
writeToSwap
in class SingleUidReplicationPacketData
IOException
public void readFromSwap(ObjectInput in) throws IOException, ClassNotFoundException
readFromSwap
in interface ISwapExternalizable
readFromSwap
in class SingleUidReplicationPacketData
IOException
ClassNotFoundException
protected ReplicationOperationType getFilterOldReplicationOpType()
getFilterOldReplicationOpType
in class SingleUidReplicationPacketData
public ReplicationSingleOperationType getOperationType()
getOperationType
in interface IReplicationPacketEntryData
protected int getFilterObjectType()
getFilterObjectType
in class SingleUidReplicationPacketData
public void batchExecuteTransactional(IReplicationInBatchContext context, ITransactionalBatchExecutionCallback executionCallback) throws Exception
batchExecuteTransactional
in interface IReplicationTransactionalPacketEntryData
Exception
public boolean filterIfNotPresentInReplicaState()
filterIfNotPresentInReplicaState
in interface IReplicationPacketEntryData
Copyright © GigaSpaces.