public class UpdateReplicationPacketData extends SingleReplicationPacketData implements IReplicationTransactionalPacketEntryData
AbstractReplicationPacketSingleEntryData.SingleEntryIterator, AbstractReplicationPacketSingleEntryData.SingleFilterIterable
Modifier and Type | Field and Description |
---|---|
protected IEntryData |
_currentEntryData |
protected short |
_flags |
protected IEntryData |
_previousEntryData |
Constructor and Description |
---|
UpdateReplicationPacketData() |
UpdateReplicationPacketData(IEntryPacket entry,
boolean fromGateway,
boolean overrideVersion,
IEntryData previousEntryData,
short flags,
long expirationTime,
IEntryData currentEntryData) |
cloneWithEntryPacket, containsFullEntryData, getEntryPacket, getOperationId, getOrderCode, getTypeDescriptor, getTypeName, 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
containsFullEntryData, getOperationId, getOrderCode, getTypeName, getUid, isBackupOnly, isFromGateway, isTransient, requiresRecoveryDuplicationProtection
enabledSmartExternalizableWithReference
equals, hashCode, parallelStream, removeIf, spliterator, stream
protected short _flags
protected transient IEntryData _currentEntryData
protected transient IEntryData _previousEntryData
public UpdateReplicationPacketData()
public UpdateReplicationPacketData(IEntryPacket entry, boolean fromGateway, boolean overrideVersion, IEntryData previousEntryData, short flags, long expirationTime, IEntryData currentEntryData)
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 UpdateReplicationPacketData clone()
clone
in interface IReplicationPacketData<IReplicationPacketEntryData>
clone
in interface IReplicationTransactionalPacketEntryData
clone
in class SingleReplicationPacketData
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
readExternal
in class SingleReplicationPacketData
IOException
ClassNotFoundException
protected void deserializePreviousEntryData(ObjectInput in) throws IOException, ClassNotFoundException
IOException
ClassNotFoundException
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
writeExternal
in class SingleReplicationPacketData
IOException
protected void writePreviousEntryData(ObjectOutput out) throws IOException
IOException
protected void readPreviousEntryData(ObjectInput in) throws IOException, ClassNotFoundException
IOException
ClassNotFoundException
protected void serializePreviousEntryData(ObjectOutput out) throws IOException
IOException
public void readFromSwap(ObjectInput in) throws IOException, ClassNotFoundException
readFromSwap
in interface ISwapExternalizable
readFromSwap
in class SingleReplicationPacketData
IOException
ClassNotFoundException
protected void restoreCurrentEntryData()
public void writeToSwap(ObjectOutput out) throws IOException
writeToSwap
in interface ISwapExternalizable
writeToSwap
in class SingleReplicationPacketData
IOException
public IEntryData getMainEntryData()
getMainEntryData
in class SingleReplicationPacketData
public IEntryData getSecondaryEntryData()
getSecondaryEntryData
in class SingleReplicationPacketData
public IEntryPacket getPreviousEntryPacket()
public boolean filterIfNotPresentInReplicaState()
filterIfNotPresentInReplicaState
in interface IReplicationPacketEntryData
public void serializeFullContent()
public boolean isSerializeFullContent()
public boolean isOverrideVersion()
public short getFlags()
public long getExpirationTime()
public IEntryData getPreviousEntryData()
Copyright © GigaSpaces.