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() |
long |
getExpirationTime() |
protected boolean |
getFlag(byte mask) |
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) |
protected void |
setFlag(byte mask,
boolean value) |
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, waitgetEntryData, getUidToOperateBy, getXidOriginated, getXidOriginatedTransaction, updateVersionAndExpirationgetLockSubjectTypeprotected AbstractSpaceItem(IServerTypeDesc typeDesc, String uid, long scn, boolean isTransient)
protected AbstractSpaceItem(IEntryHolder other)
public IServerTypeDesc getServerTypeDesc()
getServerTypeDesc in interface ISpaceItempublic String getClassName()
getClassName in interface ISpaceItempublic String getUID()
ILockObjectgetUID in interface ILockObjectpublic void setUID(String uid)
public long getSCN()
getSCN in interface ISpaceItempublic void setSCN(long scn)
public long getExpirationTime()
public abstract void setExpirationTime(long expirationTime)
setExpirationTime in interface ISpaceItempublic int getVersionID()
public boolean isTransient()
isTransient in interface ISpaceItempublic void setTransient(boolean _transient)
public boolean isMaybeUnderXtn()
isMaybeUnderXtn in interface ISpaceItempublic void setMaybeUnderXtn(boolean maybeUnderXtn)
setMaybeUnderXtn in interface ISpaceItempublic boolean hasWaitingFor()
hasWaitingFor in interface ISpaceItempublic void setHasWaitingFor(boolean hasWaitingFor)
setHasWaitingFor in interface ISpaceItempublic boolean isDeleted()
isDeleted in interface ISpaceItempublic void setDeleted(boolean isDeleted)
setDeleted in interface ISpaceItemprotected boolean getFlag(byte mask)
protected void setFlag(byte mask,
boolean value)
public boolean isDummyLease()
isDummyLease in interface ISpaceItempublic boolean isDummyLeaseAndNotExpired()
isDummyLeaseAndNotExpired in interface ISpaceItempublic void setDummyLease()
setDummyLease in interface ISpaceItempublic void dump(org.slf4j.Logger logger,
String msg)
public boolean isLockSubject()
isLockSubject in interface ILockObjectpublic 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 TextualizableCopyright © GigaSpaces.