public class ExtendNotifyTemplateLeaseReplicationPacketData extends SingleUidReplicationPacketData implements ITimeToLiveUpdateCallback
AbstractReplicationPacketSingleEntryData.SingleEntryIterator, AbstractReplicationPacketSingleEntryData.SingleFilterIterable_entryData| Constructor and Description |
|---|
ExtendNotifyTemplateLeaseReplicationPacketData() |
ExtendNotifyTemplateLeaseReplicationPacketData(String className,
String uid,
boolean isTransient,
IEntryData entryData,
long expirationTime,
long leaseTime,
int objectType,
NotifyInfo notifyInfo,
OperationID operationID) |
| 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.
|
protected void |
executeImpl(IReplicationInContext context,
IReplicationInFacade inReplicationHandler) |
boolean |
filterIfNotPresentInReplicaState() |
protected int |
getFilterObjectType() |
protected ReplicationOperationType |
getFilterOldReplicationOpType() |
ReplicationSingleOperationType |
getOperationType() |
long |
getTimeToLive() |
protected ITimeToLiveUpdateCallback |
getTimeToLiveUpdateCallback() |
String |
getTypeName() |
void |
readExternal(ObjectInput in) |
void |
readFromSwap(ObjectInput in) |
protected IReplicationFilterEntry |
toFilterEntry(SpaceTypeManager spaceTypeManager) |
String |
toString() |
void |
updateTimeToLive(long newTimeToLive) |
void |
writeExternal(ObjectOutput out) |
void |
writeToSwap(ObjectOutput out) |
clone, containsFullEntryData, execute, getMainEntryData, getOperationId, getOrderCode, getSecondaryEntryData, getTypeDescriptor, getUid, isTransientadd, 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 ExtendNotifyTemplateLeaseReplicationPacketData()
public ExtendNotifyTemplateLeaseReplicationPacketData(String className, String uid, boolean isTransient, IEntryData entryData, long expirationTime, long leaseTime, int objectType, NotifyInfo notifyInfo, OperationID operationID)
protected void executeImpl(IReplicationInContext context, IReplicationInFacade inReplicationHandler) throws Exception
executeImpl in class SingleUidReplicationPacketDataExceptionpublic boolean beforeDelayedReplication()
IReplicationPacketDatabeforeDelayedReplication in interface IReplicationPacketData<IReplicationPacketEntryData>public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizablereadExternal in class SingleUidReplicationPacketDataIOExceptionClassNotFoundExceptionpublic void readFromSwap(ObjectInput in) throws IOException, ClassNotFoundException
readFromSwap in interface ISwapExternalizablereadFromSwap in class SingleUidReplicationPacketDataIOExceptionClassNotFoundExceptionpublic void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizablewriteExternal in class SingleUidReplicationPacketDataIOExceptionpublic void writeToSwap(ObjectOutput out) throws IOException
writeToSwap in interface ISwapExternalizablewriteToSwap in class SingleUidReplicationPacketDataIOExceptionpublic String getTypeName()
getTypeName in interface IReplicationPacketEntryDatagetTypeName in class AbstractReplicationPacketSingleEntryDataprotected IReplicationFilterEntry toFilterEntry(SpaceTypeManager spaceTypeManager)
toFilterEntry in class SingleUidReplicationPacketDataprotected ReplicationOperationType getFilterOldReplicationOpType()
getFilterOldReplicationOpType in class SingleUidReplicationPacketDatapublic ReplicationSingleOperationType getOperationType()
getOperationType in interface IReplicationPacketEntryDataprotected int getFilterObjectType()
getFilterObjectType in class SingleUidReplicationPacketDataprotected ITimeToLiveUpdateCallback getTimeToLiveUpdateCallback()
getTimeToLiveUpdateCallback in class SingleUidReplicationPacketDatapublic void updateTimeToLive(long newTimeToLive)
updateTimeToLive in interface ITimeToLiveUpdateCallbackpublic long getTimeToLive()
getTimeToLive in interface ITimeToLiveUpdateCallbackpublic boolean filterIfNotPresentInReplicaState()
filterIfNotPresentInReplicaState in interface IReplicationPacketEntryDataCopyright © GigaSpaces.