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 ICustomTypeDescLoaderpublic EntryTypeDesc getEntryTypeDesc()
getEntryTypeDesc in interface IEntryDatapublic SpaceTypeDescriptor getSpaceTypeDescriptor()
ServerEntrygetSpaceTypeDescriptor in interface ServerEntrypublic Object getFixedPropertyValue(int position)
ServerEntrygetFixedPropertyValue in interface ServerEntryposition - Position of requested property.public Object getPropertyValue(String name)
ServerEntrygetPropertyValue in interface ServerEntryname - Name of requested property.public Object getPathValue(String path)
ServerEntrygetPathValue in interface ServerEntrypath - Path pointing to the requested property.public int getVersion()
ServerEntrygetVersion in interface ServerEntrypublic long getExpirationTime()
ServerEntrygetExpirationTime in interface ServerEntrypublic EntryDataType getEntryDataType()
getEntryDataType in interface IEntryDatapublic int getNumOfFixedProperties()
getNumOfFixedProperties in interface IEntryDatapublic void setFixedPropertyValue(int index,
Object value)
setFixedPropertyValue in interface IEntryDatapublic void setFixedPropertyValues(Object[] values)
setFixedPropertyValues in interface IEntryDatapublic Object[] getFixedPropertiesValues()
getFixedPropertiesValues in interface IEntryDatapublic Map<String,Object> getDynamicProperties()
getDynamicProperties in interface IEntryDatapublic void setDynamicProperties(Map<String,Object> dynamicProperties)
setDynamicProperties in interface IEntryDatapublic void setDynamicPropertyValue(String propertyName, Object value)
setDynamicPropertyValue in interface IEntryDatapublic void unsetDynamicPropertyValue(String propertyName)
unsetDynamicPropertyValue in interface IEntryDatapublic long getTimeToLive(boolean useDummyIfRelevant)
getTimeToLive in interface IEntryDatapublic void writeToSwap(ObjectOutput out) throws IOException
writeToSwap in interface ISwapExternalizableIOExceptionpublic void readFromSwap(ObjectInput in) throws IOException, ClassNotFoundException
readFromSwap in interface ISwapExternalizableIOExceptionClassNotFoundExceptionpublic void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizableIOExceptionpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizableIOExceptionClassNotFoundExceptionCopyright © GigaSpaces.