public class DiscardReplicationPacketData extends AbstractReplicationPacketSingleEntryData
AbstractReplicationPacketSingleEntryData.SingleEntryIterator, AbstractReplicationPacketSingleEntryData.SingleFilterIterable
Constructor and Description |
---|
DiscardReplicationPacketData() |
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.
|
boolean |
containsFullEntryData() |
void |
execute(IReplicationInContext context,
IReplicationInFacade inReplicationHandler,
ReplicationPacketDataMediator dataMediator) |
boolean |
filterIfNotPresentInReplicaState() |
IEntryData |
getMainEntryData() |
ReplicationSingleOperationType |
getOperationType() |
int |
getOrderCode() |
IEntryData |
getSecondaryEntryData() |
String |
getUid() |
static DiscardReplicationPacketData |
instance() |
boolean |
isTransient() |
void |
readExternal(ObjectInput in) |
void |
readFromSwap(ObjectInput in) |
boolean |
supportsReplicationFilter() |
protected IReplicationFilterEntry |
toFilterEntry(SpaceTypeManager spaceTypeManager) |
String |
toString() |
void |
writeExternal(ObjectOutput out) |
void |
writeToSwap(ObjectOutput out) |
add, addAll, clear, clone, contains, containsAll, createEmptyMultipleEntryData, deserializeEntryData, getBlobstoreBulkId, getCustomContent, getMainTypeName, getMultipleOperationType, getOperationId, getRecoveryFilteringId, getSingleEntryData, getWeight, isEmpty, isFromGateway, isMultiParticipantData, isPartOfBlobstoreBulk, isSingleEntryData, iterator, remove, removeAll, requiresRecoveryDuplicationProtection, requiresRecoveryFiltering, retainAll, serializeEntryData, setBlobstoreBulkId, setWeight, size, toArray, toArray, toFilterEntries, updateTimeToLiveIfNeeded
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
equals, hashCode, parallelStream, removeIf, spliterator, stream
isBackupOnly
public static final DiscardReplicationPacketData instance()
public void execute(IReplicationInContext context, IReplicationInFacade inReplicationHandler, ReplicationPacketDataMediator dataMediator) throws Exception
Exception
public boolean beforeDelayedReplication()
IReplicationPacketData
public IEntryData getMainEntryData()
getMainEntryData
in class AbstractReplicationPacketSingleEntryData
public IEntryData getSecondaryEntryData()
getSecondaryEntryData
in class AbstractReplicationPacketSingleEntryData
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
readExternal
in class AbstractReplicationPacketSingleEntryData
IOException
ClassNotFoundException
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
writeExternal
in class AbstractReplicationPacketSingleEntryData
IOException
public void writeToSwap(ObjectOutput out) throws IOException
writeToSwap
in interface ISwapExternalizable
writeToSwap
in class AbstractReplicationPacketSingleEntryData
IOException
public boolean supportsReplicationFilter()
supportsReplicationFilter
in interface IReplicationPacketData<IReplicationPacketEntryData>
supportsReplicationFilter
in class AbstractReplicationPacketSingleEntryData
public void readFromSwap(ObjectInput in) throws IOException, ClassNotFoundException
readFromSwap
in interface ISwapExternalizable
readFromSwap
in class AbstractReplicationPacketSingleEntryData
IOException
ClassNotFoundException
public String getUid()
protected IReplicationFilterEntry toFilterEntry(SpaceTypeManager spaceTypeManager)
toFilterEntry
in class AbstractReplicationPacketSingleEntryData
public ReplicationSingleOperationType getOperationType()
public int getOrderCode()
public boolean isTransient()
public boolean filterIfNotPresentInReplicaState()
public boolean containsFullEntryData()
Copyright © GigaSpaces.