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 TypeMethodDescriptionvoid
destroy()
free up ressources at the end (CacheManager.clear)getLast()
getNext()
boolean
is this unit releasablevoid
release()
Cache management calls this method to release the cache unit.void
void
pointers in a list for cache managementlong
releases this number of bytesvoid
touch()
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:
IOException
EDBException
-
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:
IOException
EDBException
-
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:
IOException
EDBException
-