Class FlatEntryData
java.lang.Object
com.gigaspaces.internal.server.storage.AbstractVersionedEntryData
com.gigaspaces.internal.server.storage.FlatEntryData
- All Implemented Interfaces:
IEntryData, ITransactionalEntryData, MutableServerEntry, ServerEntry
- Since:
- 7.0
- Author:
- Niv Ingberg
-
Field Summary
Fields inherited from class AbstractVersionedEntryData
_entryTxnInfo, _entryTypeDesc, _expirationTime, _versionID -
Constructor Summary
ConstructorsConstructorDescriptionFlatEntryData(Object[] fieldsValues, Map<String, Object> dynamicProperties, EntryTypeDesc entryTypeDesc, int version, long expirationTime, EntryXtnInfo entryXtnInfo) -
Method Summary
Modifier and TypeMethodDescriptioncreateCopy(int newVersion, long newExpiration, EntryXtnInfo newEntryXtnInfo, boolean shallowCloneData) createCopy(IEntryData newEntryData, long newExpirationTime) longGets the entry expiration time.Object[]getFixedPropertyValue(int index) Gets the specified fixed property's value.intGets the entry version.voidsetDynamicProperties(Map<String, Object> dynamicProperties) voidsetDynamicPropertyValue(String propertyName, Object value) voidsetFixedPropertyValue(int index, Object value) voidsetFixedPropertyValues(Object[] values) Methods inherited from class AbstractVersionedEntryData
setVersionMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface IEntryData
getNumOfFixedProperties, getPathValue, getPropertyValue, getSpaceTypeDescriptor, getTimeToLive, isDummyLease, isHybrid, isViewMethods inherited from interface ITransactionalEntryData
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
-
Constructor Details
-
FlatEntryData
public FlatEntryData(Object[] fieldsValues, Map<String, Object> dynamicProperties, EntryTypeDesc entryTypeDesc, int version, long expirationTime, EntryXtnInfo entryXtnInfo)
-
-
Method Details
-
getEntryTypeDesc
-
getVersion
public int getVersion()Description copied from interface:ServerEntryGets the entry version.- Returns:
- the entry version.
-
getExpirationTime
public long getExpirationTime()Description copied from interface:ServerEntryGets the entry expiration time.- Returns:
- the entry expiration time.
-
getEntryXtnInfo
-
createCopy
public ITransactionalEntryData createCopy(int newVersion, long newExpiration, EntryXtnInfo newEntryXtnInfo, boolean shallowCloneData) -
createCopy
-
getEntryDataType
-
getFixedPropertyValue
Description copied from interface:ServerEntryGets the specified fixed property's value. The returned value is a reference to the actual property kept in the space.- Parameters:
index- Position of requested property.- Returns:
- Requested property's value in current entry.
-
setFixedPropertyValue
-
getFixedPropertiesValues
-
getDynamicProperties
-
setDynamicPropertyValue
-
setFixedPropertyValues
-
setDynamicProperties
-