public class ExternalizableServerEntry extends Object implements IEntryData, Externalizable, ICustomTypeDescLoader, ISwapExternalizable
Constructor and Description |
---|
ExternalizableServerEntry()
Required for Externalizable and ISwapExternalizable
|
ExternalizableServerEntry(IEntryData entry) |
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.
|
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, getTimeToLive, isHybrid, isView
public ExternalizableServerEntry()
public ExternalizableServerEntry(IEntryData entry)
public void loadTypeDescriptor(SpaceTypeManager typeManager)
loadTypeDescriptor
in interface ICustomTypeDescLoader
public EntryTypeDesc getEntryTypeDesc()
getEntryTypeDesc
in interface IEntryData
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 int getVersion()
ServerEntry
getVersion
in interface ServerEntry
public long getExpirationTime()
ServerEntry
getExpirationTime
in interface ServerEntry
public EntryDataType getEntryDataType()
getEntryDataType
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 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.