public class SpaceUpdateFilterEntryImpl extends AbstractEntryType implements ISpaceFilterEntry
Modifier and Type | Field and Description |
---|---|
protected IEntryPacket |
_entryPacket |
_typeDesc
Constructor and Description |
---|
SpaceUpdateFilterEntryImpl(IEntryPacket entryPacket,
ITypeDesc typeDesc) |
Modifier and Type | Method and Description |
---|---|
String |
getClassName()
Entry class Name.
|
Entry |
getEntry(IJSpace space) |
Object[] |
getFieldsValues()
Entry field Values.
|
Object |
getFieldValue(int position)
Retrieves the given field value by position.
|
Object |
getFieldValue(String fieldName)
Retrieves the given field value.
|
MarshalledObject |
getHandback()
Gets the callback handback.
|
Map.Entry |
getMapEntry()
Returns a Map.Entry (key-value pair) representation of this entity.
|
int |
getNotifyType()
Gets the notify type.
|
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 position,
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, isReplicatable
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getCodebase, getFieldPosition, getFieldsNames, getFieldsTypes, getFieldType, getIndexIndicators, getObject, getPrimaryKeyName, getRoutingFieldName, getSuperClassesNames, isFifo, isIndexedField, isReplicatable
protected final IEntryPacket _entryPacket
public SpaceUpdateFilterEntryImpl(IEntryPacket entryPacket, ITypeDesc typeDesc)
public MarshalledObject getHandback()
IFilterEntry
Notice: only relevant if this entry represents a notify
template (see IFilterEntry.getNotifyType()
.
getHandback
in interface IFilterEntry
public int getNotifyType()
IFilterEntry
getNotifyType
in interface IFilterEntry
NOTIFY_NONE
is returned.NotifyModifiers
public Map.Entry getMapEntry()
IGSEntry
null
is returned.getMapEntry
in interface IGSEntry
null
if no
representation.Map.Entry
public String getClassName()
AbstractEntryType
getClassName
in interface IGSEntry
getClassName
in class AbstractEntryType
public Object[] getFieldsValues()
IGSEntry
getFieldsValues
in interface IGSEntry
public boolean isTransient()
IGSEntry
isTransient
in interface IGSEntry
true
if entry is transientpublic long getTimeToLive()
IGSEntry
getTimeToLive
in interface IGSEntry
Lease
public int getVersion()
IGSEntry
getVersion
in interface IGSEntry
public Object getFieldValue(String fieldName)
IGSEntry
getFieldValue
in interface IGSEntry
fieldName
- name of the field (e.g. Field.getName()
.public Object getFieldValue(int position)
IGSEntry
getFieldValue
in interface IGSEntry
position
- the field position.public Object setFieldValue(String fieldName, Object value)
IGSEntry
setFieldValue
in interface IGSEntry
fieldName
- the field name.value
- value to be associated with the specified field.public Object setFieldValue(int position, Object value)
IGSEntry
setFieldValue
in interface IGSEntry
position
- the field position.value
- value to be associated with the specified field.public Entry getEntry(IJSpace space) throws UnusableEntryException
UnusableEntryException
Copyright © GigaSpaces.