public class ExternalizableServerEntry extends Object implements IEntryData, Externalizable, ICustomTypeDescLoader, ISwapExternalizable
Constructor and Description |
---|
ExternalizableServerEntry()
Required for Externalizable and ISwapExternalizable
|
ExternalizableServerEntry(IEntryData entry) |
public ExternalizableServerEntry()
public ExternalizableServerEntry(IEntryData entry)
public void loadTypeDescriptor(SpaceTypeManager typeManager)
loadTypeDescriptor
in interface ICustomTypeDescLoader
public EntryTypeDesc getEntryTypeDesc()
getEntryTypeDesc
in interface IEntryData
public SpaceTypeDescriptor getSpaceTypeDescriptor()
ServerEntry
getSpaceTypeDescriptor
in interface ServerEntry
public Object getFixedPropertyValue(int position)
ServerEntry
getFixedPropertyValue
in interface ServerEntry
position
- Position of requested property.public Object getPropertyValue(String name)
ServerEntry
getPropertyValue
in interface ServerEntry
name
- Name of requested property.public Object getPathValue(String path)
ServerEntry
getPathValue
in interface ServerEntry
path
- Path pointing to the requested property.public int getVersion()
ServerEntry
getVersion
in interface ServerEntry
public long getExpirationTime()
ServerEntry
getExpirationTime
in interface ServerEntry
public EntryDataType getEntryDataType()
getEntryDataType
in interface IEntryData
public int getNumOfFixedProperties()
getNumOfFixedProperties
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 void setDynamicProperties(Map<String,Object> dynamicProperties)
setDynamicProperties
in interface IEntryData
public void setDynamicPropertyValue(String propertyName, Object value)
setDynamicPropertyValue
in interface IEntryData
public void unsetDynamicPropertyValue(String propertyName)
unsetDynamicPropertyValue
in interface IEntryData
public long getTimeToLive(boolean useDummyIfRelevant)
getTimeToLive
in interface IEntryData
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 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
Copyright © GigaSpaces.