public class FlatEntryData extends Object implements ITransactionalEntryData
Constructor and Description |
---|
FlatEntryData(Object[] fieldsValues,
Map<String,Object> dynamicProperties,
EntryTypeDesc entryTypeDesc,
int version,
long expirationTime,
EntryXtnInfo entryXtnInfo) |
Modifier and Type | Method and Description |
---|---|
ITransactionalEntryData |
createCopy(IEntryData newEntryData,
long newExpirationTime) |
ITransactionalEntryData |
createCopy(int newVersion,
long newExpiration,
EntryXtnInfo newEntryXtnInfo,
boolean shallowCloneData) |
Map<String,Object> |
getDynamicProperties() |
EntryDataType |
getEntryDataType() |
EntryTypeDesc |
getEntryTypeDesc() |
EntryXtnInfo |
getEntryXtnInfo() |
long |
getExpirationTime()
Gets the entry expiration time.
|
Object[] |
getFixedPropertiesValues() |
Object |
getFixedPropertyValue(int index)
Gets the specified fixed property's value.
|
int |
getVersion()
Gets the entry version.
|
void |
setDynamicProperties(Map<String,Object> dynamicProperties) |
void |
setDynamicPropertyValue(String propertyName,
Object value) |
void |
setFixedPropertyValue(int index,
Object value) |
void |
setFixedPropertyValues(Object[] values) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addReadLockOwner, anyReadLockXtn, clearReadLockOwners, copyTxnInfo, createCopyWithDummyTieredStorageTxnContainsOtherWriteLockOwner, createCopyWithDummyTieredStorageTxnInfo, createCopyWithoutTxnInfo, createCopyWithoutTxnInfo, createCopyWithSuppliedTxnInfo, createCopyWithTxnInfo, createCopyWithTxnInfo, createShallowClonedCopyWithSuppliedVersion, createShallowClonedCopyWithSuppliedVersionAndExpiration, deepCloneProperty, getOtherUpdateUnderXtnEntry, getReadLocksOwners, getWaitingFor, getWriteLockOperation, getWriteLockOwner, getWriteLockTransaction, getXidOriginated, getXidOriginatedTransaction, initWaitingFor, isExpired, isExpired, removeReadLockOwner, setOtherUpdateUnderXtnEntry, setPathValue, setWriteLockOperation, setWriteLockOwner, setXidOriginated, throwChangeIdException, unsetDynamicPropertyValue, unsetPath, validateCanSetNull
getNumOfFixedProperties, getPathValue, getPropertyValue, getSpaceTypeDescriptor, getTimeToLive, isDummyLease, isHybrid, isView
public FlatEntryData(Object[] fieldsValues, Map<String,Object> dynamicProperties, EntryTypeDesc entryTypeDesc, int version, long expirationTime, EntryXtnInfo entryXtnInfo)
public EntryTypeDesc getEntryTypeDesc()
getEntryTypeDesc
in interface IEntryData
public int getVersion()
ServerEntry
getVersion
in interface ServerEntry
public long getExpirationTime()
ServerEntry
getExpirationTime
in interface ServerEntry
public EntryXtnInfo getEntryXtnInfo()
getEntryXtnInfo
in interface ITransactionalEntryData
public ITransactionalEntryData createCopy(int newVersion, long newExpiration, EntryXtnInfo newEntryXtnInfo, boolean shallowCloneData)
createCopy
in interface ITransactionalEntryData
public ITransactionalEntryData createCopy(IEntryData newEntryData, long newExpirationTime)
createCopy
in interface ITransactionalEntryData
public EntryDataType getEntryDataType()
getEntryDataType
in interface IEntryData
public Object getFixedPropertyValue(int index)
ServerEntry
getFixedPropertyValue
in interface ServerEntry
index
- Position of requested property.public void setFixedPropertyValue(int index, Object value)
setFixedPropertyValue
in interface IEntryData
public Object[] getFixedPropertiesValues()
getFixedPropertiesValues
in interface IEntryData
public Map<String,Object> getDynamicProperties()
getDynamicProperties
in interface IEntryData
public void setDynamicPropertyValue(String propertyName, Object value)
setDynamicPropertyValue
in interface ITransactionalEntryData
public void setFixedPropertyValues(Object[] values)
setFixedPropertyValues
in interface IEntryData
public void setDynamicProperties(Map<String,Object> dynamicProperties)
setDynamicProperties
in interface IEntryData
Copyright © GigaSpaces.