public class NotificationReplicationSpaceFilterEntry extends AbstractEntryType implements ISpaceFilterEntry
Modifier and Type | Field and Description |
---|---|
protected Map<String,Object> |
_dynamicValueChanges |
protected boolean[] |
_fixedValueChangedIndicator |
protected Object[] |
_fixedValueChanges |
_typeDesc
Constructor and Description |
---|
NotificationReplicationSpaceFilterEntry(IEntryData currentEntryData,
IEntryData previousEntryData,
String uid,
boolean isTransient) |
NotificationReplicationSpaceFilterEntry(IEntryData entryData,
String uid,
boolean isTransient) |
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
getDynamicValues() |
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 |
isModified() |
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.
|
getClassName, 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
getClassName, getCodebase, getFieldPosition, getFieldsNames, getFieldsTypes, getFieldType, getIndexIndicators, getObject, getPrimaryKeyName, getRoutingFieldName, getSuperClassesNames, isFifo, isIndexedField, isReplicatable
protected Object[] _fixedValueChanges
protected boolean[] _fixedValueChangedIndicator
public NotificationReplicationSpaceFilterEntry(IEntryData currentEntryData, IEntryData previousEntryData, String uid, boolean isTransient)
public NotificationReplicationSpaceFilterEntry(IEntryData entryData, String uid, boolean isTransient)
public boolean isModified()
public Map.Entry getMapEntry()
IGSEntry
null
is returned.getMapEntry
in interface IGSEntry
null
if no
representation.Map.Entry
public Object[] getFieldsValues()
IGSEntry
getFieldsValues
in interface IGSEntry
public Object getFieldValue(String fieldName) throws IllegalArgumentException, IllegalStateException
IGSEntry
getFieldValue
in interface IGSEntry
fieldName
- name of the field (e.g. Field.getName()
.IllegalArgumentException
- if field name is not avaliableIllegalStateException
- if field values array was not properly setpublic Object getFieldValue(int position) throws IllegalArgumentException, IllegalStateException
IGSEntry
getFieldValue
in interface IGSEntry
position
- the field position.IllegalArgumentException
- if field name is not avaliableIllegalStateException
- if field values array was not properly setpublic Object setFieldValue(String fieldName, Object value) throws IllegalArgumentException, IllegalStateException
IGSEntry
setFieldValue
in interface IGSEntry
fieldName
- the field name.value
- value to be associated with the specified field.IllegalArgumentException
- if field name is not avaliableIllegalStateException
- if field values array was not properly setpublic Object setFieldValue(int position, Object value) throws IllegalArgumentException, IllegalStateException
IGSEntry
setFieldValue
in interface IGSEntry
position
- the field position.value
- value to be associated with the specified field.IllegalArgumentException
- if field name is not avaliableIllegalStateException
- if field values array was not properly setpublic 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 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
Copyright © GigaSpaces.