Interface IEntryCacheInfo
- All Superinterfaces:
EvictableServerEntry, ICollection<IEntryCacheInfo>, IHashEntry<Object, IStoredList<IEntryCacheInfo>>, ILeasedEntryCacheInfo, IObjectInfo<IEntryCacheInfo>, IObjectsList, IScanListIterator<IEntryCacheInfo>, IStoredList<IEntryCacheInfo>, IStoredListIterator<IEntryCacheInfo>, ServerEntry
- All Known Implementing Classes:
BlobStoreRefEntryCacheInfo, EvictableEntryCacheInfo, MemoryBasedEntryCacheInfo, MVCCEntryCacheInfo, MVCCShellEntryCacheInfo
public interface IEntryCacheInfo
extends EvictableServerEntry, IObjectInfo<IEntryCacheInfo>, IStoredList<IEntryCacheInfo>, ILeasedEntryCacheInfo, IStoredListIterator<IEntryCacheInfo>, IScanListIterator<IEntryCacheInfo>
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiongetEntryHolder(CacheManager cacheManager) getEntryHolder(CacheManager cacheManager, Context context) intdefault booleanhasSize()booleanbooleanbooleanbooleanisPinned()booleanbooleanbooleanbooleanbooleanbooleanpreMatch(Context context, ITemplateHolder template) voidsetBackRefs(ArrayList<IObjectInfo<IEntryCacheInfo>> backRefs) voidsetInCache(boolean checkPendingPin) voidsetLatestIndexCreationNumber(int val) voidsetLeaseManagerListRefAndPosition(IStoredList<Object> entriesList, IObjectInfo<Object> entryPos) voidsetMainListBackRef(IObjectInfo<IEntryCacheInfo> mainListBackref) booleansetPinned(boolean value) booleansetPinned(boolean value, boolean waitIfPendingInsertion) voidvoidbooleansetRemoving(boolean isPinned) default intsize()Returns the amount of elements in the StoredList.booleanMethods inherited from interface EvictableServerEntry
getEvictionPayLoad, getUID, setEvictionPayLoadMethods inherited from interface ICollection
add, contains, establishListScan, establishListScan, isEmpty, isMultiObjectCollection, next, removeByObjectMethods inherited from interface IHashEntry
getHashCode, getKey, getValue, isNativeHashEntryMethods inherited from interface ILeasedEntryCacheInfo
getObjectStoredInLeaseManager, isBlobStoreEntryMethods inherited from interface IObjectInfo
getSubject, setSubjectMethods inherited from interface IObjectsList
isIteratorMethods inherited from interface IScanListIterator
createCopyForAlternatingThread, getAlreadyMatchedFixedPropertyIndexPos, getAlreadyMatchedIndexPath, hasNext, isAlreadyMatched, isExtensionIndex, isMultiListsIterator, next, noRematchNeeded, releaseScanMethods inherited from interface IStoredList
addUnlocked, dump, freeSLHolder, getHead, getObjectFromHead, invalidate, optimizeScanForSingleObject, remove, removeUnlockedMethods inherited from interface IStoredListIterator
getSubject, release, setSubjectMethods inherited from interface ServerEntry
getExpirationTime, getFixedPropertyValue, getPathValue, getPropertyValue, getSpaceTypeDescriptor, getVersion
-
Field Details
-
UID_HASH_INDICATOR
static final int UID_HASH_INDICATOR- See Also:
-
-
Method Details
-
getEntryHolder
-
getEntryHolder
-
isDeleted
boolean isDeleted() -
getBackRefs
ArrayList<IObjectInfo<IEntryCacheInfo>> getBackRefs() -
setBackRefs
-
getMainListBackRef
IObjectInfo<IEntryCacheInfo> getMainListBackRef() -
setMainListBackRef
-
indexesBackRefsKept
boolean indexesBackRefsKept() -
setLeaseManagerListRefAndPosition
void setLeaseManagerListRefAndPosition(IStoredList<Object> entriesList, IObjectInfo<Object> entryPos) - Specified by:
setLeaseManagerListRefAndPositionin interfaceILeasedEntryCacheInfo
-
getLeaseManagerListRef
IStoredList<Object> getLeaseManagerListRef()- Specified by:
getLeaseManagerListRefin interfaceILeasedEntryCacheInfo
-
getLeaseManagerPosition
IObjectInfo<Object> getLeaseManagerPosition()- Specified by:
getLeaseManagerPositionin interfaceILeasedEntryCacheInfo
-
isConnectedToLeaseManager
boolean isConnectedToLeaseManager()- Specified by:
isConnectedToLeaseManagerin interfaceILeasedEntryCacheInfo
-
isSameLeaseManagerRef
- Specified by:
isSameLeaseManagerRefin interfaceILeasedEntryCacheInfo
-
getLatestIndexCreationNumber
int getLatestIndexCreationNumber() -
setLatestIndexCreationNumber
void setLatestIndexCreationNumber(int val) -
getClassName
String getClassName() -
setInCache
void setInCache(boolean checkPendingPin) -
setPinned
boolean setPinned(boolean value, boolean waitIfPendingInsertion) -
setPinned
boolean setPinned(boolean value) -
isPinned
boolean isPinned() -
setRemoving
boolean setRemoving(boolean isPinned) -
isRemoving
boolean isRemoving() -
setRemoved
void setRemoved() -
isRemoved
boolean isRemoved() -
isRemovingOrRemoved
boolean isRemovingOrRemoved() -
wasInserted
boolean wasInserted() -
isRecentDelete
boolean isRecentDelete() -
setRecentDelete
void setRecentDelete() -
preMatch
-
getServerTypeDesc
IServerTypeDesc getServerTypeDesc() -
hasSize
default boolean hasSize()- Specified by:
hasSizein interfaceIScanListIterator<IEntryCacheInfo>- Returns:
- true if the iterator knows its size, and size() can be called.
-
size
default int size()Description copied from interface:ICollectionReturns the amount of elements in the StoredList.- Specified by:
sizein interfaceICollection<IEntryCacheInfo>- Specified by:
sizein interfaceIScanListIterator<IEntryCacheInfo>- Returns:
- size of the StoredList
- See Also:
-