public class EvictableEntryCacheInfo extends MemoryBasedEntryCacheInfo implements EvictableServerEntry
UID_HASH_INDICATOR
Constructor and Description |
---|
EvictableEntryCacheInfo(IEntryHolder entryHolder) |
EvictableEntryCacheInfo(IEntryHolder entryHolder,
int backRefsSize) |
EvictableEntryCacheInfo(IEntryHolder entryHolder,
int backRefsSize,
boolean pinned) |
Modifier and Type | Method and Description |
---|---|
void |
afterCallingEvictionStrategy()
returned from call to E.S., notify remover if waiting
|
String |
getAlreadyMatchedIndexPath() |
Object |
getEvictionPayLoad()
in order to avoid searching the eviction handler data structures when an existing entry is
rendered to it by the space cache manager, the eviction-handler may store a backref to the
entry in it data structure and retrieve it later
|
boolean |
isInCache() |
boolean |
isInEvictionStrategy() |
boolean |
isInserted() |
boolean |
isPinned() |
boolean |
isRecentDelete() |
boolean |
isRemoved() |
boolean |
isRemovedFromEvictionStrategy() |
boolean |
isRemoving() |
boolean |
isRemovingOrRemoved() |
void |
notifyWaitersOnFailure() |
boolean |
permitCallingEvictionStrategy()
can eviction strategy be called ?
|
void |
setEvictionPayLoad(Object evictionBackRef)
in order to avoid searching the eviction handler data structures when an existing entry is
rendered to it by the space cache manager, the eviction-handler may store a backref to the
entry in it data structure and retrieve it later
|
void |
setInCache(boolean checkPendingPin) |
void |
setInEvictionStrategy() |
boolean |
setPinned(boolean value) |
boolean |
setPinned(boolean value,
boolean waitIfPendingInsertion) |
void |
setRecentDelete() |
void |
setRemoved() |
void |
setRemovedFromEvictionStrategy(boolean checkWaiters) |
boolean |
setRemoving(boolean isPinned) |
void |
verifyBeforeEntryRemoval() |
void |
verifyEntryRemovedFromStrategy() |
boolean |
wasInserted() |
add, addUnlocked, contains, dump, establishListScan, freeSLHolder, getAlreadyMatchedFixedPropertyIndexPos, getBackRefs, getClassName, getEntryHolder, getEntryHolder, getEntryHolder, getExpirationTime, getFixedPropertyValue, getHashCode, getHead, getKey, getLatestIndexCreationNumber, getLeaseManagerListRef, getLeaseManagerPosition, getMainListBackRef, getObjectFromHead, getObjectStoredInLeaseManager, getPathValue, getPropertyValue, getServerTypeDesc, getSpaceTypeDescriptor, getSubject, getUID, getValue, getVersion, hasNext, indexesBackRefsKept, invalidate, isAlreadyMatched, isConnectedToLeaseManager, isDeleted, isEmpty, isIterator, isMultiObjectCollection, isNativeHashEntry, isOffHeapEntry, isSameLeaseManagerRef, isTransient, next, next, optimizeScanForSingleObject, preMatch, release, releaseScan, remove, removeByObject, removeUnlocked, setBackRefs, setLatestIndexCreationNumber, setLeaseManagerListRefAndPosition, setMainListBackRef, setSubject, size
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getUID
getExpirationTime, getFixedPropertyValue, getPathValue, getPropertyValue, getSpaceTypeDescriptor, getVersion
public EvictableEntryCacheInfo(IEntryHolder entryHolder)
public EvictableEntryCacheInfo(IEntryHolder entryHolder, int backRefsSize)
public EvictableEntryCacheInfo(IEntryHolder entryHolder, int backRefsSize, boolean pinned)
public void setEvictionPayLoad(Object evictionBackRef)
setEvictionPayLoad
in interface EvictableServerEntry
setEvictionPayLoad
in class MemoryBasedEntryCacheInfo
public Object getEvictionPayLoad()
getEvictionPayLoad
in interface EvictableServerEntry
getEvictionPayLoad
in class MemoryBasedEntryCacheInfo
public boolean setPinned(boolean value, boolean waitIfPendingInsertion)
setPinned
in interface IEntryCacheInfo
setPinned
in class MemoryBasedEntryCacheInfo
public boolean setPinned(boolean value)
setPinned
in interface IEntryCacheInfo
setPinned
in class MemoryBasedEntryCacheInfo
public boolean isPinned()
isPinned
in interface IEntryCacheInfo
isPinned
in class MemoryBasedEntryCacheInfo
public boolean isRemoving()
isRemoving
in interface IEntryCacheInfo
isRemoving
in class MemoryBasedEntryCacheInfo
public boolean setRemoving(boolean isPinned)
setRemoving
in interface IEntryCacheInfo
setRemoving
in class MemoryBasedEntryCacheInfo
public void setRemoved()
setRemoved
in interface IEntryCacheInfo
setRemoved
in class MemoryBasedEntryCacheInfo
public boolean isRemoved()
isRemoved
in interface IEntryCacheInfo
isRemoved
in class MemoryBasedEntryCacheInfo
public boolean isRemovingOrRemoved()
isRemovingOrRemoved
in interface IEntryCacheInfo
isRemovingOrRemoved
in class MemoryBasedEntryCacheInfo
public void notifyWaitersOnFailure()
public void verifyEntryRemovedFromStrategy()
public void setInCache(boolean checkPendingPin)
setInCache
in interface IEntryCacheInfo
setInCache
in class MemoryBasedEntryCacheInfo
public boolean isInCache()
isInCache
in class MemoryBasedEntryCacheInfo
public boolean isInserted()
isInserted
in class MemoryBasedEntryCacheInfo
public boolean wasInserted()
wasInserted
in interface IEntryCacheInfo
wasInserted
in class MemoryBasedEntryCacheInfo
public boolean isRecentDelete()
isRecentDelete
in interface IEntryCacheInfo
isRecentDelete
in class MemoryBasedEntryCacheInfo
public void setRecentDelete()
setRecentDelete
in interface IEntryCacheInfo
setRecentDelete
in class MemoryBasedEntryCacheInfo
public boolean isRemovedFromEvictionStrategy()
public void setRemovedFromEvictionStrategy(boolean checkWaiters)
public boolean isInEvictionStrategy()
public void setInEvictionStrategy()
public void verifyBeforeEntryRemoval()
public boolean permitCallingEvictionStrategy()
public void afterCallingEvictionStrategy()
public String getAlreadyMatchedIndexPath()
getAlreadyMatchedIndexPath
in interface IScanListIterator<IEntryCacheInfo>
getAlreadyMatchedIndexPath
in class MemoryBasedEntryCacheInfo
Copyright © GigaSpaces.