|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.infinispan.container.entries.AbstractInternalCacheEntry
public abstract class AbstractInternalCacheEntry
An abstract internal cache entry that is typically stored in the data container
| Method Summary | |
|---|---|
void |
commit(DataContainer container)
Commits changes |
Object |
getKey()
Retrieves the key to this entry |
Object |
getValue()
Retrieves the value of this entry |
boolean |
isChanged()
|
boolean |
isCreated()
|
boolean |
isNull()
Tests whether the entry represents a null value, typically used for repeatable read. |
boolean |
isRemoved()
|
boolean |
isValid()
|
void |
rollback()
Rolls back changes |
void |
setCreated(boolean created)
|
void |
setRemoved(boolean removed)
|
void |
setValid(boolean valid)
|
Object |
setValue(Object value)
Sets the value of the entry, returing the previous value |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.infinispan.container.entries.InternalCacheEntry |
|---|
canExpire, getCreated, getExpiryTime, getLastUsed, isExpired, setLifespan, setMaxIdle, touch |
| Methods inherited from interface org.infinispan.container.entries.CacheEntry |
|---|
getLifespan, getMaxIdle |
| Method Detail |
|---|
public final Object setValue(Object value)
CacheEntry
setValue in interface CacheEntryvalue - value to set
public final void commit(DataContainer container)
CacheEntry
commit in interface CacheEntrycontainer - data container to commit topublic final void rollback()
CacheEntry
rollback in interface CacheEntrypublic final void setCreated(boolean created)
setCreated in interface CacheEntrypublic final void setRemoved(boolean removed)
setRemoved in interface CacheEntrypublic final void setValid(boolean valid)
setValid in interface CacheEntrypublic final boolean isNull()
CacheEntry
isNull in interface CacheEntrypublic final boolean isChanged()
isChanged in interface CacheEntrypublic final boolean isCreated()
isCreated in interface CacheEntrypublic final boolean isRemoved()
isRemoved in interface CacheEntrypublic final boolean isValid()
isValid in interface CacheEntrypublic final Object getKey()
CacheEntry
getKey in interface CacheEntrypublic final Object getValue()
CacheEntry
getValue in interface CacheEntrypublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||