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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
destroy()
free up ressources at the end (CacheManager.clear)getQuery()
long
getTime()
void
boolean
is this unit releasableboolean
isValid()
void
release()
Cache management calls this method to release the cache unit.void
setTime
(long time) long
releases 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:AbstractCacheUnit
releases this number of bytes- Specified by:
sizeInBytes
in interfaceCacheUnit
- Specified by:
sizeInBytes
in classAbstractCacheUnit
- Returns:
-
destroy
Description copied from interface:CacheUnit
free up ressources at the end (CacheManager.clear)- Throws:
IOException
-
release
Description copied from class:AbstractCacheUnit
Cache management calls this method to release the cache unit.- Specified by:
release
in interfaceCacheUnit
- Specified by:
release
in classAbstractCacheUnit
- Throws:
IOException
-
isReleasable
Description copied from class:AbstractCacheUnit
is this unit releasable- Specified by:
isReleasable
in interfaceCacheUnit
- Specified by:
isReleasable
in classAbstractCacheUnit
- Returns:
- Throws:
IOException
-