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, waitgetNumOfFixedProperties, getPathValue, getPropertyValue, isDummyLease, isHybrid, isViewenabledSmartExternalizableWithReferencepublic EntryPacketServerEntryAdapter()
public EntryPacketServerEntryAdapter(IEntryPacket entryPacket)
public void loadTypeDescriptor(SpaceTypeManager typeManager)
loadTypeDescriptor in interface ICustomTypeDescLoaderpublic ITypeDesc getSpaceTypeDescriptor()
ServerEntrygetSpaceTypeDescriptor in interface IEntryDatagetSpaceTypeDescriptor in interface ServerEntrypublic Object getFixedPropertyValue(int position)
ServerEntrygetFixedPropertyValue in interface ServerEntryposition - Position of requested property.public void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizableIOExceptionpublic void writeToSwap(ObjectOutput out) throws IOException
writeToSwap in interface ISwapExternalizableIOExceptionpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizableIOExceptionClassNotFoundExceptionpublic void readFromSwap(ObjectInput in) throws IOException, ClassNotFoundException
readFromSwap in interface ISwapExternalizableIOExceptionClassNotFoundExceptionpublic int getVersion()
ServerEntrygetVersion in interface ServerEntrypublic long getExpirationTime()
ServerEntrygetExpirationTime in interface ServerEntrypublic EntryDataType getEntryDataType()
getEntryDataType in interface IEntryDatapublic EntryTypeDesc getEntryTypeDesc()
getEntryTypeDesc 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 long getTimeToLive(boolean useDummyIfRelevant)
getTimeToLive in interface IEntryDatapublic void setDynamicProperties(Map<String,Object> dynamicProperties)
setDynamicProperties in interface IEntryDataCopyright © GigaSpaces.