public abstract class AbstractEntryData extends Object implements ITransactionalEntryData
| Modifier and Type | Field and Description |
|---|---|
protected EntryTypeDesc |
_entryTypeDesc |
protected long |
_expirationTime |
protected int |
_versionID |
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractEntryData(AbstractEntryData other,
EntryXtnInfo xtnInfo) |
protected |
AbstractEntryData(EntryTypeDesc entryTypeDesc,
int version,
long expirationTime,
boolean createEmptyTxnInfoIfNon) |
protected |
AbstractEntryData(EntryTypeDesc entryTypeDesc,
int version,
long expirationTime,
boolean cloneXtnInfo,
AbstractEntryData other,
boolean createEmptyTxnInfoIfNon) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateCopy, createCopyWithoutTxnInfo, createCopyWithoutTxnInfo, createCopyWithSuppliedTxnInfo, createCopyWithTxnInfo, createCopyWithTxnInfo, createShallowClonedCopyWithSuppliedVersion, createShallowClonedCopyWithSuppliedVersionAndExpirationgetDynamicProperties, getEntryDataType, getFixedPropertiesValues, getNumOfFixedProperties, setDynamicProperties, setDynamicPropertyValue, setFixedPropertyValue, setFixedPropertyValues, unsetDynamicPropertyValuegetFixedPropertyValueprotected final EntryTypeDesc _entryTypeDesc
protected final int _versionID
protected final long _expirationTime
protected AbstractEntryData(EntryTypeDesc entryTypeDesc, int version, long expirationTime, boolean createEmptyTxnInfoIfNon)
protected AbstractEntryData(EntryTypeDesc entryTypeDesc, int version, long expirationTime, boolean cloneXtnInfo, AbstractEntryData other, boolean createEmptyTxnInfoIfNon)
protected AbstractEntryData(AbstractEntryData other, EntryXtnInfo xtnInfo)
public ITypeDesc getSpaceTypeDescriptor()
ServerEntrygetSpaceTypeDescriptor in interface ServerEntrypublic EntryTypeDesc getEntryTypeDesc()
getEntryTypeDesc in interface IEntryDatapublic Object getPropertyValue(String name)
ServerEntrygetPropertyValue in interface ServerEntryname - Name of requested property.public int getVersion()
ServerEntrygetVersion in interface ServerEntrypublic long getExpirationTime()
ServerEntrygetExpirationTime in interface ServerEntrypublic long getTimeToLive(boolean useDummyIfRelevant)
getTimeToLive in interface IEntryDatapublic static long getTimeToLive(long expirationTime,
boolean useDummyIfRelevant)
public EntryXtnInfo getEntryXtnInfo()
getEntryXtnInfo in interface ITransactionalEntryDatapublic boolean anyReadLockXtn()
anyReadLockXtn in interface ITransactionalEntryDatapublic List<XtnEntry> getReadLocksOwners()
getReadLocksOwners in interface ITransactionalEntryDatapublic void addReadLockOwner(XtnEntry xtn)
addReadLockOwner in interface ITransactionalEntryDatapublic void removeReadLockOwner(XtnEntry xtn)
removeReadLockOwner in interface ITransactionalEntryDatapublic void clearReadLockOwners()
clearReadLockOwners in interface ITransactionalEntryDatapublic XtnEntry getWriteLockOwner()
getWriteLockOwner in interface ITransactionalEntryDatapublic void setWriteLockOwner(XtnEntry writeLockOwner)
setWriteLockOwner in interface ITransactionalEntryDatapublic ServerTransaction getWriteLockTransaction()
getWriteLockTransaction in interface ITransactionalEntryDatapublic int getWriteLockOperation()
getWriteLockOperation in interface ITransactionalEntryDatapublic void setWriteLockOperation(int writeLockOperation)
setWriteLockOperation in interface ITransactionalEntryDatapublic XtnEntry getXidOriginated()
getXidOriginated in interface ITransactionalEntryDatapublic void setXidOriginated(XtnEntry xidOriginated)
setXidOriginated in interface ITransactionalEntryDatapublic ServerTransaction getXidOriginatedTransaction()
getXidOriginatedTransaction in interface ITransactionalEntryDatapublic IEntryHolder getOtherUpdateUnderXtnEntry()
getOtherUpdateUnderXtnEntry in interface ITransactionalEntryDatapublic void setOtherUpdateUnderXtnEntry(IEntryHolder eh)
setOtherUpdateUnderXtnEntry in interface ITransactionalEntryDatapublic Collection<ITemplateHolder> getWaitingFor()
getWaitingFor in interface ITransactionalEntryDatapublic void initWaitingFor()
initWaitingFor in interface ITransactionalEntryDatapublic boolean isExpired(long limit)
isExpired in interface ITransactionalEntryDatapublic boolean isExpired()
isExpired in interface ITransactionalEntryDatapublic Object getPathValue(String path)
ServerEntrygetPathValue in interface ServerEntrypath - Path pointing to the requested property.public void setPathValue(String path, Object value)
MutableServerEntrysetPathValue in interface MutableServerEntrypath - Path pointing to the requested property.value - Value to set.public void unsetPath(String path)
MutableServerEntryunsetPath in interface MutableServerEntrypath - Path pointing to the requested property.Copyright © GigaSpaces.