Class HybridEntryData
java.lang.Object
com.gigaspaces.internal.server.storage.AbstractVersionedEntryData
com.gigaspaces.internal.server.storage.HybridEntryData
- All Implemented Interfaces:
IBinaryEntryData,IEntryData,ITransactionalEntryData,MutableServerEntry,ServerEntry
- Since:
- 15.8
- Author:
- Yael Nahon
-
Field Summary
FieldsFields inherited from class com.gigaspaces.internal.server.storage.AbstractVersionedEntryData
_entryTxnInfo, _entryTypeDesc, _expirationTime, _versionID -
Constructor Summary
ConstructorsConstructorDescriptionHybridEntryData(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) -
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.Object[]byte[]intGets the entry version.booleanbooleanisHybrid()voidsetDynamicProperties(Map<String, Object> dynamicProperties) voidsetDynamicPropertyValue(String propertyName, Object value) voidsetFixedPropertyValue(int index, Object value) voidsetFixedPropertyValues(Object[] values) voidsetFixedPropertyValues(Object[] nonSerializedFields, byte[] serializedFields) Methods inherited from class com.gigaspaces.internal.server.storage.AbstractVersionedEntryData
setVersionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.gigaspaces.internal.server.storage.IEntryData
getNumOfFixedProperties, getPathValue, getPropertyValue, getSpaceTypeDescriptor, getTimeToLive, isDummyLease, isView, setVersionMethods inherited from interface com.gigaspaces.internal.server.storage.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
-
Field Details
-
_dynamicProperties
-
-
Constructor Details
-
HybridEntryData
public HybridEntryData(Object[] fixedProperties, Map<String, Object> dynamicProperties, EntryTypeDesc entryTypeDesc, int version, long expirationTime, EntryXtnInfo entryXtnInfo) -
HybridEntryData
public HybridEntryData(HybridPropertiesHolder propertiesHolder, Map<String, Object> dynamicProperties, EntryTypeDesc entryTypeDesc, int version, long expirationTime, EntryXtnInfo entryXtnInfo)
-
-
Method Details
-
createCopy
public ITransactionalEntryData createCopy(int newVersion, long newExpiration, EntryXtnInfo newEntryXtnInfo, boolean shallowCloneData) - Specified by:
createCopyin interfaceITransactionalEntryData
-
createCopy
- Specified by:
createCopyin interfaceITransactionalEntryData
-
getNonSerializedProperties
-
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.- Specified by:
getFixedPropertyValuein interfaceServerEntry- Parameters:
index- Position of requested property.- Returns:
- Requested property's value in current entry.
-
setFixedPropertyValue
- Specified by:
setFixedPropertyValuein interfaceIEntryData
-
getFixedPropertiesValues
- Specified by:
getFixedPropertiesValuesin interfaceIEntryData
-
setFixedPropertyValues
- Specified by:
setFixedPropertyValuesin interfaceIEntryData
-
setFixedPropertyValues
-
getPackedSerializedProperties
public byte[] getPackedSerializedProperties()- Specified by:
getPackedSerializedPropertiesin interfaceIBinaryEntryData
-
isEqualProperties
- Specified by:
isEqualPropertiesin interfaceIBinaryEntryData
-
getEntryTypeDesc
- Specified by:
getEntryTypeDescin interfaceIEntryData
-
getVersion
public int getVersion()Description copied from interface:ServerEntryGets the entry version.- Specified by:
getVersionin interfaceServerEntry- Returns:
- the entry version.
-
getExpirationTime
public long getExpirationTime()Description copied from interface:ServerEntryGets the entry expiration time.- Specified by:
getExpirationTimein interfaceServerEntry- Returns:
- the entry expiration time.
-
getEntryXtnInfo
- Specified by:
getEntryXtnInfoin interfaceITransactionalEntryData
-
getEntryDataType
- Specified by:
getEntryDataTypein interfaceIEntryData
-
getDynamicProperties
- Specified by:
getDynamicPropertiesin interfaceIEntryData
-
setDynamicProperties
- Specified by:
setDynamicPropertiesin interfaceIEntryData
-
setDynamicPropertyValue
- Specified by:
setDynamicPropertyValuein interfaceITransactionalEntryData
-
isHybrid
public boolean isHybrid()- Specified by:
isHybridin interfaceIEntryData
-