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, isBlobStoreEntry, isConnectedToLeaseManager, isDeleted, isEmpty, isIterator, isMultiObjectCollection, isNativeHashEntry, isSameLeaseManagerRef, isTransient, next, next, optimizeScanForSingleObject, preMatch, release, releaseScan, remove, removeByObject, removeUnlocked, setBackRefs, setLatestIndexCreationNumber, setLeaseManagerListRefAndPosition, setMainListBackRef, setSubject, sizeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetUIDgetExpirationTime, getFixedPropertyValue, getPathValue, getPropertyValue, getSpaceTypeDescriptor, getVersionpublic 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 EvictableServerEntrysetEvictionPayLoad in class MemoryBasedEntryCacheInfopublic Object getEvictionPayLoad()
getEvictionPayLoad in interface EvictableServerEntrygetEvictionPayLoad in class MemoryBasedEntryCacheInfopublic boolean setPinned(boolean value,
boolean waitIfPendingInsertion)
setPinned in interface IEntryCacheInfosetPinned in class MemoryBasedEntryCacheInfopublic boolean setPinned(boolean value)
setPinned in interface IEntryCacheInfosetPinned in class MemoryBasedEntryCacheInfopublic boolean isPinned()
isPinned in interface IEntryCacheInfoisPinned in class MemoryBasedEntryCacheInfopublic boolean isRemoving()
isRemoving in interface IEntryCacheInfoisRemoving in class MemoryBasedEntryCacheInfopublic boolean setRemoving(boolean isPinned)
setRemoving in interface IEntryCacheInfosetRemoving in class MemoryBasedEntryCacheInfopublic void setRemoved()
setRemoved in interface IEntryCacheInfosetRemoved in class MemoryBasedEntryCacheInfopublic boolean isRemoved()
isRemoved in interface IEntryCacheInfoisRemoved in class MemoryBasedEntryCacheInfopublic boolean isRemovingOrRemoved()
isRemovingOrRemoved in interface IEntryCacheInfoisRemovingOrRemoved in class MemoryBasedEntryCacheInfopublic void notifyWaitersOnFailure()
public void verifyEntryRemovedFromStrategy()
public void setInCache(boolean checkPendingPin)
setInCache in interface IEntryCacheInfosetInCache in class MemoryBasedEntryCacheInfopublic boolean isInCache()
isInCache in class MemoryBasedEntryCacheInfopublic boolean isInserted()
isInserted in class MemoryBasedEntryCacheInfopublic boolean wasInserted()
wasInserted in interface IEntryCacheInfowasInserted in class MemoryBasedEntryCacheInfopublic boolean isRecentDelete()
isRecentDelete in interface IEntryCacheInfoisRecentDelete in class MemoryBasedEntryCacheInfopublic void setRecentDelete()
setRecentDelete in interface IEntryCacheInfosetRecentDelete in class MemoryBasedEntryCacheInfopublic 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 MemoryBasedEntryCacheInfoCopyright © GigaSpaces.