public class UserTypeEntryData extends Object implements ITransactionalEntryData
Constructor and Description |
---|
UserTypeEntryData(Object data,
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 propertyID)
Gets the specified fixed property's value.
|
Object |
getUserObject() |
int |
getVersion()
Gets the entry version.
|
void |
setDynamicProperties(Map<String,Object> dynamicProperties) |
void |
setDynamicPropertyValue(String propertyName,
Object value) |
void |
setFixedPropertyValue(int propertyID,
Object value) |
void |
setFixedPropertyValues(Object[] values) |
void |
unsetDynamicPropertyValue(String propertyName) |
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, unsetPath, validateCanSetNull
getNumOfFixedProperties, getPathValue, getPropertyValue, getSpaceTypeDescriptor, getTimeToLive, isDummyLease, isHybrid, isView
public UserTypeEntryData(Object data, 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 getUserObject()
public Object getFixedPropertyValue(int propertyID)
ServerEntry
getFixedPropertyValue
in interface ServerEntry
propertyID
- Position of requested property.public void setFixedPropertyValue(int propertyID, Object value)
setFixedPropertyValue
in interface IEntryData
public void setFixedPropertyValues(Object[] values)
setFixedPropertyValues
in interface IEntryData
public Object[] getFixedPropertiesValues()
getFixedPropertiesValues
in interface IEntryData
public Map<String,Object> getDynamicProperties()
getDynamicProperties
in interface IEntryData
public void setDynamicProperties(Map<String,Object> dynamicProperties)
setDynamicProperties
in interface IEntryData
public void setDynamicPropertyValue(String propertyName, Object value)
setDynamicPropertyValue
in interface ITransactionalEntryData
public void unsetDynamicPropertyValue(String propertyName)
unsetDynamicPropertyValue
in interface ITransactionalEntryData
Copyright © GigaSpaces.