public class EntryImpl extends AbstractEntryType
| Modifier and Type | Field and Description |
|---|---|
protected IEntryHolder |
_entryHolder |
_typeDesc| Constructor and Description |
|---|
EntryImpl(IEntryHolder entryHolder,
ITypeDesc typeDesc)
Constructs an Entry implementation including its class-type meta-data.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getClassName()
Entry class Name.
|
Entry |
getEntry(IJSpace space) |
Object[] |
getFieldsValues()
Entry field Values.
|
Object |
getFieldValue(int index)
Retrieves the given field value by position.
|
Object |
getFieldValue(String fieldName)
Retrieves the given field value.
|
MarshalledObject |
getHandback()
Returns the handbag represented by this Entry.
|
Map.Entry |
getMapEntry()
Returns a Map.Entry (key-value pair) representation of this entity.
|
int |
getNotifyType()
Returns the notify type represented by this Entry.
|
long |
getTimeToLive()
Entry time to live.
|
String |
getUID()
Entry UID.
|
int |
getVersion()
Ascending version of this Entry
|
boolean |
isTransient()
Checks entry is transient even if space is persistent.
|
Object |
setFieldValue(int index,
Object value)
Associates the specified value with the specified field position.
|
Object |
setFieldValue(String fieldName,
Object value)
Associates the specified value with the specified field.
|
getCodebase, getFieldPosition, getFieldsNames, getFieldsTypes, getFieldType, getIndexIndicators, getObject, getPrimaryKeyName, getProperties, getRoutingFieldName, getSuperClassesNames, hasDummyTTE, isFifo, isIndexedField, isReplicatableprotected final IEntryHolder _entryHolder
public EntryImpl(IEntryHolder entryHolder, ITypeDesc typeDesc)
entryHolder - the entry holder (internal entry representation).typeDesc - the class-type meta-data of this entry.public Map.Entry getMapEntry()
IGSEntrynull is returned.null if no
representation.Map.Entrypublic String getUID()
IGSEntrypublic String getClassName()
AbstractEntryTypegetClassName in interface IGSEntrygetClassName in class AbstractEntryTypepublic Object[] getFieldsValues()
IGSEntrypublic boolean isTransient()
IGSEntrytrue if entry is transientpublic long getTimeToLive()
IGSEntryLeasepublic int getVersion()
IGSEntrypublic Object getFieldValue(String fieldName)
IGSEntryfieldName - name of the field (e.g. Field.getName().public Object getFieldValue(int index)
IGSEntryindex - the field position.public Object setFieldValue(String fieldName, Object value)
IGSEntryfieldName - the field name.value - value to be associated with the specified field.public Object setFieldValue(int index, Object value)
IGSEntryindex - the field position.value - value to be associated with the specified field.public Entry getEntry(IJSpace space) throws UnusableEntryException
UnusableEntryExceptionpublic MarshalledObject getHandback()
public int getNotifyType()
NotifyModifiersCopyright © GigaSpaces.