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, updateEntryPacketTimeToLiveIfNeededadd, 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, updateTimeToLiveIfNeededequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waittoFilterEntrycontainsFullEntryData, getOperationId, getOrderCode, getTypeName, getUid, isBackupOnly, isFromGateway, isTransient, requiresRecoveryDuplicationProtectionenabledSmartExternalizableWithReferenceequals, hashCode, parallelStream, removeIf, spliterator, streamprotected 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>Exceptionpublic void executeTransactional(IReplicationInContext context, ITransactionalExecutionCallback transactionExecutionCallback, Transaction transaction, boolean twoPhaseCommit) throws Exception
executeTransactional in interface IReplicationTransactionalPacketEntryDataExceptionpublic void batchExecuteTransactional(IReplicationInBatchContext context, ITransactionalBatchExecutionCallback executionCallback) throws Exception
batchExecuteTransactional in interface IReplicationTransactionalPacketEntryDataExceptionpublic boolean beforeDelayedReplication()
IReplicationTransactionalPacketEntryDatabeforeDelayedReplication in interface IReplicationPacketData<IReplicationPacketEntryData>beforeDelayedReplication in interface IReplicationTransactionalPacketEntryDataprotected int getFilterObjectType(IServerTypeDesc serverTypeDesc)
getFilterObjectType in class SingleReplicationPacketDataprotected ReplicationOperationType getFilterReplicationOpType()
getFilterReplicationOpType in class SingleReplicationPacketDatapublic ReplicationSingleOperationType getOperationType()
getOperationType in interface IReplicationPacketEntryDatapublic UpdateReplicationPacketData clone()
clone in interface IReplicationPacketData<IReplicationPacketEntryData>clone in interface IReplicationTransactionalPacketEntryDataclone in class SingleReplicationPacketDatapublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizablereadExternal in class SingleReplicationPacketDataIOExceptionClassNotFoundExceptionprotected void deserializePreviousEntryData(ObjectInput in) throws IOException, ClassNotFoundException
IOExceptionClassNotFoundExceptionpublic void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizablewriteExternal in class SingleReplicationPacketDataIOExceptionprotected void writePreviousEntryData(ObjectOutput out) throws IOException
IOExceptionprotected void readPreviousEntryData(ObjectInput in) throws IOException, ClassNotFoundException
IOExceptionClassNotFoundExceptionprotected void serializePreviousEntryData(ObjectOutput out) throws IOException
IOExceptionpublic void readFromSwap(ObjectInput in) throws IOException, ClassNotFoundException
readFromSwap in interface ISwapExternalizablereadFromSwap in class SingleReplicationPacketDataIOExceptionClassNotFoundExceptionprotected void restoreCurrentEntryData()
public void writeToSwap(ObjectOutput out) throws IOException
writeToSwap in interface ISwapExternalizablewriteToSwap in class SingleReplicationPacketDataIOExceptionpublic IEntryData getMainEntryData()
getMainEntryData in class SingleReplicationPacketDatapublic IEntryData getSecondaryEntryData()
getSecondaryEntryData in class SingleReplicationPacketDatapublic IEntryPacket getPreviousEntryPacket()
public boolean filterIfNotPresentInReplicaState()
filterIfNotPresentInReplicaState in interface IReplicationPacketEntryDatapublic void serializeFullContent()
public boolean isSerializeFullContent()
public boolean isOverrideVersion()
public short getFlags()
public long getExpirationTime()
public IEntryData getPreviousEntryData()
Copyright © GigaSpaces.