public class HybridEntryData extends Object implements IBinaryEntryData
Modifier and Type | Field and Description |
---|---|
protected Map<String,Object> |
_dynamicProperties |
protected EntryXtnInfo |
_entryTxnInfo |
protected EntryTypeDesc |
_entryTypeDesc |
protected long |
_expirationTime |
protected int |
_versionID |
Constructor and Description |
---|
HybridEntryData(HybridPropertiesHolder propertiesHolder,
Map<String,Object> dynamicProperties,
EntryTypeDesc entryTypeDesc,
int version,
long expirationTime,
EntryXtnInfo entryXtnInfo) |
HybridEntryData(Object[] fixedProperties,
Map<String,Object> dynamicProperties,
EntryTypeDesc entryTypeDesc,
int version,
long expirationTime,
EntryXtnInfo entryXtnInfo) |
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, isView
protected final EntryTypeDesc _entryTypeDesc
protected final int _versionID
protected final long _expirationTime
protected final EntryXtnInfo _entryTxnInfo
public HybridEntryData(Object[] fixedProperties, Map<String,Object> dynamicProperties, EntryTypeDesc entryTypeDesc, int version, long expirationTime, EntryXtnInfo entryXtnInfo)
public HybridEntryData(HybridPropertiesHolder propertiesHolder, Map<String,Object> dynamicProperties, EntryTypeDesc entryTypeDesc, int version, long expirationTime, EntryXtnInfo entryXtnInfo)
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 Object[] getNonSerializedProperties()
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 void setFixedPropertyValues(Object[] values)
setFixedPropertyValues
in interface IEntryData
public void setFixedPropertyValues(Object[] nonSerializedFields, byte[] serializedFields)
public byte[] getPackedSerializedProperties()
getPackedSerializedProperties
in interface IBinaryEntryData
public boolean isEqualProperties(IBinaryEntryData old)
isEqualProperties
in interface IBinaryEntryData
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 EntryDataType getEntryDataType()
getEntryDataType
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 boolean isHybrid()
isHybrid
in interface IEntryData
Copyright © GigaSpaces.