public abstract class AbstractEntryPacket extends AbstractExternalizable implements IEntryPacket, Textualizable
Modifier and Type | Field and Description |
---|---|
protected EntryType |
_entryType |
protected byte |
_entryTypeCode |
protected ITypeDesc |
_typeDesc |
protected int |
_typeDescChecksum |
Modifier | Constructor and Description |
---|---|
protected |
AbstractEntryPacket()
Default constructor required by
Externalizable . |
protected |
AbstractEntryPacket(ITypeDesc typeDesc,
EntryType entryType) |
readExternal, writeExternal
finalize, getClass, notify, notifyAll, wait, wait, wait
allNullFieldValues, getTTL, isHybrid, setCustomQuery, setTTL, setUID
getCustomQuery, getDynamicProperties, getFieldValue, getFieldValues, getMultipleUIDs, getPacketType, getTypeName, getUID, getVersion, isFifo, isNoWriteLease, isTransient, setDynamicProperties, setFieldsValues, setFieldValue, setMultipleUIDs, setVersion
enabledSmartExternalizableWithReference
readExternal, writeExternal
protected ITypeDesc _typeDesc
protected int _typeDescChecksum
protected EntryType _entryType
protected transient byte _entryTypeCode
protected AbstractEntryPacket()
Externalizable
.public IEntryPacket clone()
clone
in interface IEntryPacket
clone
in class Object
public void toText(Textualizer textualizer)
toText
in interface Textualizable
public EntryType getEntryType()
getEntryType
in interface ITransportPacket
public String getExternalEntryImplClassName()
getExternalEntryImplClassName
in interface ITransportPacket
public OperationID getOperationID()
getOperationID
in interface ITransportPacket
public void setOperationID(OperationID operationID)
setOperationID
in interface ITransportPacket
public ITypeDesc getTypeDescriptor()
getTypeDescriptor
in interface ITransportPacket
public void setTypeDesc(ITypeDesc typeDesc, boolean serializeTypeDesc)
setTypeDesc
in interface ITransportPacket
public int getTypeDescChecksum()
getTypeDescChecksum
in interface ITransportPacket
public boolean supportsTypeDescChecksum()
supportsTypeDescChecksum
in interface ITransportPacket
public boolean isSerializeTypeDesc()
isSerializeTypeDesc
in interface ITransportPacket
public void setSerializeTypeDesc(boolean serializeTypeDesc)
setSerializeTypeDesc
in interface ITransportPacket
public String getCodebase()
getCodebase
in interface ITransportPacket
public Object getPropertyValue(String name)
getPropertyValue
in interface ITransportPacket
public void setPropertyValue(String name, Object value)
setPropertyValue
in interface ITransportPacket
public Object getID()
getID
in interface IEntryPacket
protected Object getIdImpl()
public int getPreviousVersion()
IEntryPacket
getPreviousVersion
in interface IEntryPacket
public void setPreviousVersion(int previousVersion)
IEntryPacket
setPreviousVersion
in interface IEntryPacket
public boolean hasPreviousVersion()
IEntryPacket
hasPreviousVersion
in interface IEntryPacket
public Object getRoutingFieldValue()
getRoutingFieldValue
in interface ITransportPacket
public Object toObject(QueryResultTypeInternal resultType)
toObject
in interface ITransportPacket
public Object toObject(QueryResultTypeInternal resultType, StorageTypeDeserialization storageTypeDeserialization)
toObject
in interface ITransportPacket
public boolean hasFixedPropertiesArray()
hasFixedPropertiesArray
in interface IEntryPacket
public Object toObject(EntryType entryType)
toObject
in interface ITransportPacket
public Object toObject(EntryType entryType, StorageTypeDeserialization storageTypeDeserialization)
toObject
in interface ITransportPacket
protected void writeExternalImpl(ObjectOutput out) throws IOException
writeExternalImpl
in class AbstractExternalizable
IOException
protected void readExternalImpl(ObjectInput in) throws IOException, ClassNotFoundException
readExternalImpl
in class AbstractExternalizable
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
protected void writeExternal(ObjectOutput out, PlatformLogicalVersion version) throws IOException
IOException
protected void readExternal(ObjectInput in, PlatformLogicalVersion version) throws IOException, ClassNotFoundException
IOException
ClassNotFoundException
protected void validateStorageType()
public boolean isExternalizableEntryPacket()
isExternalizableEntryPacket
in interface IEntryPacket
Copyright © GigaSpaces.