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, getTypeName, isTransient, 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, waitequals, hashCode, parallelStream, removeIf, spliterator, streamenabledSmartExternalizableWithReferenceisBackupOnlypublic 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
Exceptionpublic boolean beforeDelayedReplication()
IReplicationPacketDatapublic String getUid()
getUid in interface IReplicationPacketEntryDatagetUid in class SingleReplicationPacketDatapublic void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizablewriteExternal in class SingleReplicationPacketDataIOExceptionpublic void writeToSwap(ObjectOutput out) throws IOException
writeToSwap in interface ISwapExternalizablewriteToSwap in class SingleReplicationPacketDataIOExceptionpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizablereadExternal in class SingleReplicationPacketDataIOExceptionClassNotFoundExceptionpublic void readFromSwap(ObjectInput in) throws IOException, ClassNotFoundException
readFromSwap in interface ISwapExternalizablereadFromSwap in class SingleReplicationPacketDataIOExceptionClassNotFoundExceptionpublic IReplicationFilterEntry toFilterEntry(SpaceTypeManager spaceTypeManager)
toFilterEntry in class SingleReplicationPacketDataprotected int getFilterObjectType(IServerTypeDesc serverTypeDesc)
getFilterObjectType in class SingleReplicationPacketDataprotected ReplicationOperationType getFilterReplicationOpType()
getFilterReplicationOpType in class SingleReplicationPacketDatapublic ReplicationSingleOperationType getOperationType()
public boolean filterIfNotPresentInReplicaState()
Copyright © GigaSpaces.