public class InsertNotifyTemplateReplicationPacketData extends SingleReplicationPacketData
AbstractReplicationPacketSingleEntryData.SingleEntryIterator, AbstractReplicationPacketSingleEntryData.SingleFilterIterable
Constructor and Description |
---|
InsertNotifyTemplateReplicationPacketData() |
InsertNotifyTemplateReplicationPacketData(ITemplatePacket templatePacket,
String templateUid,
NotifyInfo notifyInfo,
long expirationTime) |
Modifier and Type | Method and Description |
---|---|
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.
|
void |
execute(IReplicationInContext context,
IReplicationInFacade inReplicationHandler,
ReplicationPacketDataMediator dataMediator) |
boolean |
filterIfNotPresentInReplicaState() |
protected int |
getFilterObjectType(IServerTypeDesc serverTypeDesc) |
protected ReplicationOperationType |
getFilterReplicationOpType() |
NotifyInfo |
getNotifyInfo() |
ReplicationSingleOperationType |
getOperationType() |
String |
getUid() |
void |
readExternal(ObjectInput in) |
void |
readFromSwap(ObjectInput in) |
IReplicationFilterEntry |
toFilterEntry(SpaceTypeManager spaceTypeManager) |
String |
toString() |
void |
writeExternal(ObjectOutput out) |
void |
writeToSwap(ObjectOutput out) |
clone, cloneWithEntryPacket, containsFullEntryData, getEntryPacket, getMainEntryData, getOperationId, getOrderCode, getSecondaryEntryData, getTypeDescriptor, isTransient, updateEntryPacketTimeToLiveIfNeeded
add, addAll, clear, contains, containsAll, createEmptyMultipleEntryData, deserializeEntryData, getBlobstoreBulkId, getCustomContent, getMainTypeName, getMultipleOperationType, getRecoveryFilteringId, getSingleEntryData, isEmpty, isFromGateway, isMultiParticipantData, isPartOfBlobstoreBulk, isSingleEntryData, iterator, remove, removeAll, requiresRecoveryDuplicationProtection, requiresRecoveryFiltering, retainAll, serializeEntryData, setBlobstoreBulkId, size, supportsReplicationFilter, toArray, toArray, toFilterEntries, updateTimeToLiveIfNeeded
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
equals, hashCode, parallelStream, removeIf, spliterator, stream
public InsertNotifyTemplateReplicationPacketData()
public InsertNotifyTemplateReplicationPacketData(ITemplatePacket templatePacket, String templateUid, NotifyInfo notifyInfo, long expirationTime)
public NotifyInfo getNotifyInfo()
public void execute(IReplicationInContext context, IReplicationInFacade inReplicationHandler, ReplicationPacketDataMediator dataMediator) throws Exception
Exception
public boolean beforeDelayedReplication()
IReplicationPacketData
public String getUid()
getUid
in interface IReplicationPacketEntryData
getUid
in class SingleReplicationPacketData
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
writeExternal
in class SingleReplicationPacketData
IOException
public void writeToSwap(ObjectOutput out) throws IOException
writeToSwap
in interface ISwapExternalizable
writeToSwap
in class SingleReplicationPacketData
IOException
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
readExternal
in class SingleReplicationPacketData
IOException
ClassNotFoundException
public void readFromSwap(ObjectInput in) throws IOException, ClassNotFoundException
readFromSwap
in interface ISwapExternalizable
readFromSwap
in class SingleReplicationPacketData
IOException
ClassNotFoundException
public IReplicationFilterEntry toFilterEntry(SpaceTypeManager spaceTypeManager)
toFilterEntry
in class SingleReplicationPacketData
protected int getFilterObjectType(IServerTypeDesc serverTypeDesc)
getFilterObjectType
in class SingleReplicationPacketData
protected ReplicationOperationType getFilterReplicationOpType()
getFilterReplicationOpType
in class SingleReplicationPacketData
public ReplicationSingleOperationType getOperationType()
public boolean filterIfNotPresentInReplicaState()
Copyright © GigaSpaces.