Package com.semedy.reasoner.core
Class InternalCachedTripleResult
java.lang.Object
com.semedy.reasoner.edb.persistentstore.AbstractCacheUnit
com.semedy.reasoner.core.InternalCachedTripleResult
- All Implemented Interfaces:
CacheUnit
- Author:
- angele
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddestroy()free up ressources at the end (CacheManager.clear)getQuery()longgetTime()voidbooleanis this unit releasablebooleanisValid()voidrelease()Cache management calls this method to release the cache unit.voidsetTime(long time) longreleases this number of bytes
-
Constructor Details
-
InternalCachedTripleResult
-
-
Method Details
-
setTime
public void setTime(long time) -
getTime
public long getTime() -
getQueries
-
getTriples
-
getQuery
-
isValid
public boolean isValid() -
invalidate
public void invalidate() -
sizeInBytes
public long sizeInBytes()Description copied from class:AbstractCacheUnitreleases this number of bytes- Specified by:
sizeInBytesin interfaceCacheUnit- Specified by:
sizeInBytesin classAbstractCacheUnit- Returns:
-
destroy
Description copied from interface:CacheUnitfree up ressources at the end (CacheManager.clear)- Throws:
IOException
-
release
Description copied from class:AbstractCacheUnitCache management calls this method to release the cache unit.- Specified by:
releasein interfaceCacheUnit- Specified by:
releasein classAbstractCacheUnit- Throws:
IOException
-
isReleasable
Description copied from class:AbstractCacheUnitis this unit releasable- Specified by:
isReleasablein interfaceCacheUnit- Specified by:
isReleasablein classAbstractCacheUnit- Returns:
- Throws:
IOException
-