public abstract class AbstractReplicationPacketSingleEntryData extends Object implements IExecutableReplicationPacketData<IReplicationPacketEntryData>, IReplicationPacketEntryData
IReplicationPacketData
implementations that contains only one IReplicationPacketEntryData
Modifier and Type | Class and Description |
---|---|
class |
AbstractReplicationPacketSingleEntryData.SingleEntryIterator |
static class |
AbstractReplicationPacketSingleEntryData.SingleFilterIterable |
Constructor and Description |
---|
AbstractReplicationPacketSingleEntryData() |
AbstractReplicationPacketSingleEntryData(boolean fromGateway) |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
execute
beforeDelayedReplication
equals, hashCode, parallelStream, removeIf, spliterator, stream
enabledSmartExternalizableWithReference
containsFullEntryData, filterIfNotPresentInReplicaState, getOperationType, getOrderCode, getUid, isBackupOnly, isTransient
public AbstractReplicationPacketSingleEntryData()
public AbstractReplicationPacketSingleEntryData(boolean fromGateway)
public boolean isPartOfBlobstoreBulk()
isPartOfBlobstoreBulk
in interface IExecutableReplicationPacketData<IReplicationPacketEntryData>
public void setBlobstoreBulkId(int blobStoreBulkReplicationId)
public int getBlobstoreBulkId()
public boolean isFromGateway()
isFromGateway
in interface IReplicationPacketData<IReplicationPacketEntryData>
isFromGateway
in interface IReplicationPacketEntryData
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
public void writeToSwap(ObjectOutput out) throws IOException
writeToSwap
in interface ISwapExternalizable
IOException
public void readFromSwap(ObjectInput in) throws IOException, ClassNotFoundException
readFromSwap
in interface ISwapExternalizable
IOException
ClassNotFoundException
public boolean isSingleEntryData()
isSingleEntryData
in interface IReplicationPacketData<IReplicationPacketEntryData>
public IReplicationPacketEntryData getSingleEntryData()
getSingleEntryData
in interface IReplicationPacketData<IReplicationPacketEntryData>
public boolean add(IReplicationPacketEntryData o)
add
in interface Collection<IReplicationPacketEntryData>
public boolean addAll(Collection<? extends IReplicationPacketEntryData> c)
addAll
in interface Collection<IReplicationPacketEntryData>
public void clear()
clear
in interface Collection<IReplicationPacketEntryData>
public boolean contains(Object o)
contains
in interface Collection<IReplicationPacketEntryData>
public boolean containsAll(Collection<?> c)
containsAll
in interface Collection<IReplicationPacketEntryData>
public boolean isEmpty()
isEmpty
in interface Collection<IReplicationPacketEntryData>
public Iterator<IReplicationPacketEntryData> iterator()
iterator
in interface Iterable<IReplicationPacketEntryData>
iterator
in interface Collection<IReplicationPacketEntryData>
public boolean remove(Object o)
remove
in interface Collection<IReplicationPacketEntryData>
public boolean removeAll(Collection<?> c)
removeAll
in interface Collection<IReplicationPacketEntryData>
public boolean retainAll(Collection<?> c)
retainAll
in interface Collection<IReplicationPacketEntryData>
public int size()
size
in interface Collection<IReplicationPacketEntryData>
public Object[] toArray()
toArray
in interface Collection<IReplicationPacketEntryData>
public <T> T[] toArray(T[] a)
toArray
in interface Collection<IReplicationPacketEntryData>
public AbstractReplicationPacketSingleEntryData clone()
clone
in interface IReplicationPacketData<IReplicationPacketEntryData>
clone
in class Object
public boolean supportsReplicationFilter()
supportsReplicationFilter
in interface IReplicationPacketData<IReplicationPacketEntryData>
public boolean requiresRecoveryDuplicationProtection()
requiresRecoveryDuplicationProtection
in interface IReplicationPacketEntryData
public boolean requiresRecoveryFiltering()
requiresRecoveryFiltering
in interface IReplicationPacketData<IReplicationPacketEntryData>
public Iterable<IReplicationFilterEntry> toFilterEntries(SpaceTypeManager spaceTypeManager)
toFilterEntries
in interface IExecutableReplicationPacketData<IReplicationPacketEntryData>
protected abstract IReplicationFilterEntry toFilterEntry(SpaceTypeManager spaceTypeManager)
public abstract IEntryData getMainEntryData()
public abstract IEntryData getSecondaryEntryData()
public String getMainTypeName()
public String getTypeName()
getTypeName
in interface IReplicationPacketEntryData
public IExecutableReplicationPacketData<IReplicationPacketEntryData> createEmptyMultipleEntryData()
createEmptyMultipleEntryData
in interface IExecutableReplicationPacketData<IReplicationPacketEntryData>
public OperationID getOperationId()
getOperationId
in interface IReplicationPacketEntryData
public boolean isMultiParticipantData()
IReplicationPacketData
isMultiParticipantData
in interface IReplicationPacketData<IReplicationPacketEntryData>
public ReplicationMultipleOperationType getMultipleOperationType()
getMultipleOperationType
in interface IReplicationPacketData<IReplicationPacketEntryData>
public Object getRecoveryFilteringId()
getRecoveryFilteringId
in interface IReplicationPacketData<IReplicationPacketEntryData>
public Object getCustomContent()
public long updateTimeToLiveIfNeeded(long expirationTime, long currentTimeToLive)
protected void serializeEntryData(IEntryData entryData, ObjectOutput out) throws IOException
IOException
protected IEntryData deserializeEntryData(ObjectInput in) throws IOException, ClassNotFoundException
IOException
ClassNotFoundException
public void setWeight(int weight)
setWeight
in interface IReplicationPacketData<IReplicationPacketEntryData>
public int getWeight()
getWeight
in interface IReplicationPacketData<IReplicationPacketEntryData>
Copyright © GigaSpaces.