Package | Description |
---|---|
org.kepler.objectmanager.cache |
Modifier and Type | Method and Description |
---|---|
void |
CacheManager.clearCache()
clear the cache of all contents
|
int |
CacheManager.countDB()
debug method to count the contents of the table * @throws CacheException
|
static void |
CacheUtil.executeSQLCommand(java.lang.String sql)
execute a SQL command against the hsql database
|
java.util.Iterator<CacheObjectInterface> |
CacheManager.getCacheObjectIterator()
return an iterator of all of the CacheObjectInterfaces in the cache
|
java.util.Iterator<CacheObjectInterface> |
CacheManager.getCacheObjectIterator(java.lang.String type) |
byte[] |
BufferedDataCacheObject.getData()
Returns the data as a byte array
|
java.io.InputStream |
RawDataCacheObject.getDataAsStream()
return the data as a stream
|
CacheObject |
CacheManager.getHighestCacheObjectRevision(KeplerLSID anLsid)
Return the CacheObject that has the highest revision number and matches
the given LSID, return null if not found.
|
static CacheManager |
CacheManager.getInstance()
create a new singleton instance of CacheManager
|
CacheObjectInterface |
CacheManager.getObject(KeplerLSID lsid)
return the CacheObjectInterface with the specified lsid.
|
void |
CacheManager.insertObject(CacheObjectInterface co)
insert a new CacheObjectInterface into the cache.
|
boolean |
CacheManager.isContained(KeplerLSID lsid)
return true of the given lsid has an associated object in the cache
|
void |
CacheManager.removeObject(KeplerLSID lsid)
remove the CacheObjectInterface with the specified lsid.
|
java.lang.String |
CacheManager.showDB()
debug method to show the contents of the table
|
void |
CacheManager.updateObject(CacheObjectInterface co)
update a CacheObjectInterface in the cache.
|
Constructor and Description |
---|
ActorCacheObject(java.io.InputStream actorStream)
create an ActorCacheObject from a stream
|
CacheManager()
Construct a new CacheManager
|