public class EntryPacketServerEntryAdapter extends Object implements IEntryData, ICustomTypeDescLoader, SmartExternalizable, ISwapExternalizable
Constructor and Description |
---|
EntryPacketServerEntryAdapter() |
EntryPacketServerEntryAdapter(IEntryPacket entryPacket) |
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
getDynamicProperties() |
EntryDataType |
getEntryDataType() |
EntryTypeDesc |
getEntryTypeDesc() |
long |
getExpirationTime()
Gets the entry expiration time.
|
Object[] |
getFixedPropertiesValues() |
Object |
getFixedPropertyValue(int position)
Gets the specified fixed property's value.
|
ITypeDesc |
getSpaceTypeDescriptor()
Gets the entry's type descriptor.
|
long |
getTimeToLive(boolean useDummyIfRelevant) |
int |
getVersion()
Gets the entry version.
|
void |
loadTypeDescriptor(SpaceTypeManager typeManager) |
void |
readExternal(ObjectInput in) |
void |
readFromSwap(ObjectInput in) |
void |
setDynamicProperties(Map<String,Object> dynamicProperties) |
void |
setFixedPropertyValue(int index,
Object value) |
void |
setFixedPropertyValues(Object[] values) |
void |
writeExternal(ObjectOutput out) |
void |
writeToSwap(ObjectOutput out) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getNumOfFixedProperties, getPathValue, getPropertyValue, isDummyLease, isHybrid, isView
enabledSmartExternalizableWithReference
public EntryPacketServerEntryAdapter()
public EntryPacketServerEntryAdapter(IEntryPacket entryPacket)
public void loadTypeDescriptor(SpaceTypeManager typeManager)
loadTypeDescriptor
in interface ICustomTypeDescLoader
public ITypeDesc getSpaceTypeDescriptor()
ServerEntry
getSpaceTypeDescriptor
in interface IEntryData
getSpaceTypeDescriptor
in interface ServerEntry
public Object getFixedPropertyValue(int position)
ServerEntry
getFixedPropertyValue
in interface ServerEntry
position
- Position of requested property.public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
public void writeToSwap(ObjectOutput out) throws IOException
writeToSwap
in interface ISwapExternalizable
IOException
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
public void readFromSwap(ObjectInput in) throws IOException, ClassNotFoundException
readFromSwap
in interface ISwapExternalizable
IOException
ClassNotFoundException
public int getVersion()
ServerEntry
getVersion
in interface ServerEntry
public long getExpirationTime()
ServerEntry
getExpirationTime
in interface ServerEntry
public EntryDataType getEntryDataType()
getEntryDataType
in interface IEntryData
public EntryTypeDesc getEntryTypeDesc()
getEntryTypeDesc
in interface IEntryData
public void setFixedPropertyValue(int index, Object value)
setFixedPropertyValue
in interface IEntryData
public void setFixedPropertyValues(Object[] values)
setFixedPropertyValues
in interface IEntryData
public Object[] getFixedPropertiesValues()
getFixedPropertiesValues
in interface IEntryData
public Map<String,Object> getDynamicProperties()
getDynamicProperties
in interface IEntryData
public long getTimeToLive(boolean useDummyIfRelevant)
getTimeToLive
in interface IEntryData
public void setDynamicProperties(Map<String,Object> dynamicProperties)
setDynamicProperties
in interface IEntryData
Copyright © GigaSpaces.