public class ExternalizableServerEntry extends Object implements IEntryData, SmartExternalizable, 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, waitgetNumOfFixedProperties, getPathValue, getPropertyValue, getTimeToLive, isDummyLease, isHybrid, isViewenabledSmartExternalizableWithReferencepublic ExternalizableServerEntry()
public ExternalizableServerEntry(IEntryData entry)
public void loadTypeDescriptor(SpaceTypeManager typeManager)
loadTypeDescriptor in interface ICustomTypeDescLoaderpublic EntryTypeDesc getEntryTypeDesc()
getEntryTypeDesc in interface IEntryDatapublic ITypeDesc getSpaceTypeDescriptor()
ServerEntrygetSpaceTypeDescriptor in interface IEntryDatagetSpaceTypeDescriptor in interface ServerEntrypublic Object getFixedPropertyValue(int position)
ServerEntrygetFixedPropertyValue in interface ServerEntryposition - Position of requested property.public int getVersion()
ServerEntrygetVersion in interface ServerEntrypublic long getExpirationTime()
ServerEntrygetExpirationTime in interface ServerEntrypublic EntryDataType getEntryDataType()
getEntryDataType 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 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.