Interface CacheUnit
- All Known Implementing Classes:
AbstractCacheUnit,BPlusInternalNode,BPlusLeaf,BPlusLeafIndex,BPlusLeafRecords,BPlusNode,CacheAnchor,CachedJoinResult,CompressedBPlusNode,InternalCachedJsonResult,InternalCachedTripleResult,MainMemorySubRelation,MixedRelation,SwappableBufferedIncrementalRelation,SwappableIncrementalRelation,SwappableRelation
public interface CacheUnit
- Author:
- angele
-
Method Summary
Modifier and TypeMethodDescriptionvoiddestroy()free up ressources at the end (CacheManager.clear)getLast()getNext()booleanis this unit releasablevoidrelease()Cache management calls this method to release the cache unit.voidvoidpointers in a list for cache managementlongreleases this number of bytesvoidtouch()touch a cache unit.
-
Method Details
-
touch
touch a cache unit.
this means for cache management that this unit
will be used and has a lower prio to be released- Throws:
IOExceptionEDBException
-
setNext
pointers in a list for cache management- Parameters:
next-
-
getNext
CacheUnit getNext() -
setLast
-
getLast
CacheUnit getLast() -
release
Cache management calls this method to release the cache unit.- Throws:
IOExceptionEDBException
-
isReleasable
is this unit releasable- Returns:
- Throws:
IOException
-
sizeInBytes
long sizeInBytes()releases this number of bytes- Returns:
-
destroy
free up ressources at the end (CacheManager.clear)- Throws:
IOExceptionEDBException
-