Class InsertNotifyTemplateReplicationPacketData
java.lang.Object
com.gigaspaces.internal.cluster.node.impl.packets.data.operations.AbstractReplicationPacketSingleEntryData
com.gigaspaces.internal.cluster.node.impl.packets.data.operations.SingleReplicationPacketData
com.gigaspaces.internal.cluster.node.impl.packets.data.operations.InsertNotifyTemplateReplicationPacketData
- All Implemented Interfaces:
IExecutableReplicationPacketData<IReplicationPacketEntryData>,IReplicationPacketData<IReplicationPacketEntryData>,IReplicationPacketEntryData,ISwapExternalizable,SmartExternalizable,Externalizable,Serializable,Cloneable,Iterable<IReplicationPacketEntryData>,Collection<IReplicationPacketEntryData>
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.gigaspaces.internal.cluster.node.impl.packets.data.operations.AbstractReplicationPacketSingleEntryData
AbstractReplicationPacketSingleEntryData.SingleEntryIterator, AbstractReplicationPacketSingleEntryData.SingleFilterIterable -
Constructor Summary
ConstructorsConstructorDescriptionInsertNotifyTemplateReplicationPacketData(ITemplatePacket templatePacket, String templateUid, NotifyInfo notifyInfo, long expirationTime) -
Method Summary
Modifier and TypeMethodDescriptionbooleanIf 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.voidexecute(IReplicationInContext context, IReplicationInFacade inReplicationHandler, ReplicationPacketDataMediator dataMediator) booleanprotected intgetFilterObjectType(IServerTypeDesc serverTypeDesc) protected ReplicationOperationTypegetUid()voidvoidtoFilterEntry(SpaceTypeManager spaceTypeManager) toString()voidvoidwriteToSwap(ObjectOutput out) Methods inherited from class com.gigaspaces.internal.cluster.node.impl.packets.data.operations.SingleReplicationPacketData
clone, cloneWithEntryPacket, containsFullEntryData, getEntryPacket, getMainEntryData, getOperationId, getOrderCode, getSecondaryEntryData, getTypeDescriptor, getTypeName, isTransient, updateEntryPacketTimeToLiveIfNeededMethods inherited from class com.gigaspaces.internal.cluster.node.impl.packets.data.operations.AbstractReplicationPacketSingleEntryData
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, updateTimeToLiveIfNeededMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
equals, hashCode, parallelStream, removeIf, spliterator, stream, toArrayMethods inherited from interface com.gigaspaces.internal.cluster.node.impl.packets.data.IReplicationPacketEntryData
isBackupOnlyMethods inherited from interface com.gigaspaces.serialization.SmartExternalizable
enabledSmartExternalizableWithReference
-
Constructor Details
-
InsertNotifyTemplateReplicationPacketData
public InsertNotifyTemplateReplicationPacketData() -
InsertNotifyTemplateReplicationPacketData
public InsertNotifyTemplateReplicationPacketData(ITemplatePacket templatePacket, String templateUid, NotifyInfo notifyInfo, long expirationTime)
-
-
Method Details
-
getNotifyInfo
-
execute
public void execute(IReplicationInContext context, IReplicationInFacade inReplicationHandler, ReplicationPacketDataMediator dataMediator) throws Exception - Throws:
Exception
-
beforeDelayedReplication
public boolean beforeDelayedReplication()Description copied from interface:IReplicationPacketDataIf 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. If the method returns false the packet is no longer relevant and it is discarded -
getUid
- Specified by:
getUidin interfaceIReplicationPacketEntryData- Overrides:
getUidin classSingleReplicationPacketData
-
writeExternal
- Specified by:
writeExternalin interfaceExternalizable- Overrides:
writeExternalin classSingleReplicationPacketData- Throws:
IOException
-
writeToSwap
- Specified by:
writeToSwapin interfaceISwapExternalizable- Overrides:
writeToSwapin classSingleReplicationPacketData- Throws:
IOException
-
readExternal
- Specified by:
readExternalin interfaceExternalizable- Overrides:
readExternalin classSingleReplicationPacketData- Throws:
IOExceptionClassNotFoundException
-
readFromSwap
- Specified by:
readFromSwapin interfaceISwapExternalizable- Overrides:
readFromSwapin classSingleReplicationPacketData- Throws:
IOExceptionClassNotFoundException
-
toFilterEntry
- Overrides:
toFilterEntryin classSingleReplicationPacketData
-
getFilterObjectType
- Specified by:
getFilterObjectTypein classSingleReplicationPacketData
-
getFilterReplicationOpType
- Specified by:
getFilterReplicationOpTypein classSingleReplicationPacketData
-
getOperationType
-
toString
-
filterIfNotPresentInReplicaState
public boolean filterIfNotPresentInReplicaState()
-