public class ExtendEntryLeaseReplicationPacketData extends SingleUidReplicationPacketData implements ITimeToLiveUpdateCallback
AbstractReplicationPacketSingleEntryData.SingleEntryIterator, AbstractReplicationPacketSingleEntryData.SingleFilterIterable_entryData| Constructor and Description |
|---|
ExtendEntryLeaseReplicationPacketData() |
ExtendEntryLeaseReplicationPacketData(String className,
String uid,
boolean isTransient,
IEntryData entryData,
long expirationTime,
long leaseTime,
OperationID operationID,
int routingHash,
boolean isFromGateway) |
| 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() |
protected String |
getTypeName() |
void |
readExternal(ObjectInput in) |
void |
readFromSwap(ObjectInput in) |
String |
toString() |
void |
updateTimeToLive(long newTimeToLive) |
void |
writeExternal(ObjectOutput out) |
void |
writeToSwap(ObjectOutput out) |
clone, containsFullEntryData, execute, getMainEntryData, getOperationId, getOrderCode, getSecondaryEntryData, getTypeDescriptor, getUid, isTransient, toFilterEntryadd, 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, streampublic ExtendEntryLeaseReplicationPacketData()
public ExtendEntryLeaseReplicationPacketData(String className, String uid, boolean isTransient, IEntryData entryData, long expirationTime, long leaseTime, OperationID operationID, int routingHash, boolean isFromGateway)
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 SingleUidReplicationPacketDataIOExceptionprotected String getTypeName()
getTypeName 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.