public abstract class AbstractSpaceItem extends Object implements ISpaceItem, Textualizable
Modifier | Constructor and Description |
---|---|
protected |
AbstractSpaceItem(IEntryHolder other) |
protected |
AbstractSpaceItem(IServerTypeDesc typeDesc,
String uid,
long scn,
boolean isTransient) |
Modifier and Type | Method and Description |
---|---|
void |
dump(org.slf4j.Logger logger,
String msg) |
String |
getClassName() |
Object |
getEntryId() |
IEvictableLockObject |
getEvictableLockObject()
if the lock object is an evictable lock object, return the interface (preferable to casing)
|
long |
getExpirationTime() |
MarshalledObject |
getHandback() |
int |
getNotifyType() |
int |
getOrder() |
Object |
getRoutingValue() |
long |
getSCN() |
IServerTypeDesc |
getServerTypeDesc() |
String |
getUID()
get the uid for the subject
|
int |
getVersionID() |
boolean |
hasShadow() |
abstract boolean |
hasShadow(boolean safeEntry) |
boolean |
hasWaitingFor() |
boolean |
isDeleted() |
boolean |
isDummyLease() |
boolean |
isDummyLeaseAndNotExpired() |
boolean |
isLockSubject()
if entryHolder is used as lockObject (for example in ALL_IN_CACHE) - its the lock subject
itself
|
boolean |
isMaybeUnderXtn() |
boolean |
isShadow()
IEntryHolder Members *
|
boolean |
isTransient() |
void |
setDeleted(boolean isDeleted) |
void |
setDummyLease() |
abstract void |
setExpirationTime(long expirationTime) |
void |
setHasWaitingFor(boolean hasWaitingFor) |
void |
setMaybeUnderXtn(boolean maybeUnderXtn) |
void |
setOrder(int order) |
void |
setSCN(long scn) |
void |
setTransient(boolean _transient) |
void |
setUID(String uid) |
String |
toString() |
void |
toText(Textualizer textualizer) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getEntryData, getUidToOperateBy, getXidOriginated, getXidOriginatedTransaction, updateVersionAndExpiration
getExternalLockObject, getLockSubjectType
protected AbstractSpaceItem(IServerTypeDesc typeDesc, String uid, long scn, boolean isTransient)
protected AbstractSpaceItem(IEntryHolder other)
public IServerTypeDesc getServerTypeDesc()
getServerTypeDesc
in interface ISpaceItem
public String getClassName()
getClassName
in interface ISpaceItem
public String getUID()
ILockedSubject
getUID
in interface ILockedSubject
public void setUID(String uid)
public long getSCN()
getSCN
in interface ISpaceItem
public void setSCN(long scn)
public long getExpirationTime()
public abstract void setExpirationTime(long expirationTime)
setExpirationTime
in interface ISpaceItem
public int getVersionID()
public boolean isTransient()
isTransient
in interface ISpaceItem
public void setTransient(boolean _transient)
public boolean isMaybeUnderXtn()
isMaybeUnderXtn
in interface ISpaceItem
public void setMaybeUnderXtn(boolean maybeUnderXtn)
setMaybeUnderXtn
in interface ISpaceItem
public boolean hasWaitingFor()
hasWaitingFor
in interface ISpaceItem
public void setHasWaitingFor(boolean hasWaitingFor)
setHasWaitingFor
in interface ISpaceItem
public boolean isDeleted()
isDeleted
in interface ISpaceItem
public void setDeleted(boolean isDeleted)
setDeleted
in interface ISpaceItem
public boolean isDummyLease()
isDummyLease
in interface ISpaceItem
public boolean isDummyLeaseAndNotExpired()
isDummyLeaseAndNotExpired
in interface ISpaceItem
public void setDummyLease()
setDummyLease
in interface ISpaceItem
public void dump(org.slf4j.Logger logger, String msg)
public boolean isLockSubject()
isLockSubject
in interface ILockObject
public IEvictableLockObject getEvictableLockObject()
public boolean isShadow()
public boolean hasShadow()
public abstract boolean hasShadow(boolean safeEntry)
public int getNotifyType()
public MarshalledObject getHandback()
public int getOrder()
public void setOrder(int order)
public Object getRoutingValue()
public Object getEntryId()
public void toText(Textualizer textualizer)
toText
in interface Textualizable
Copyright © GigaSpaces.