| |
|
| java.lang.Object com.salmonllc.util.ObjectstoreCache
ObjectstoreCache | public class ObjectstoreCache (Code) | | This class is used to cache images for the objectstore.
|
_bytesUsed | static long _bytesUsed(Code) | | |
_cacheTimeout | static long _cacheTimeout(Code) | | |
_lastCleared | static long _lastCleared(Code) | | |
_maxBytes | static long _maxBytes(Code) | | |
addEntry | public static synchronized boolean addEntry(String key, byte[] data)(Code) | | This method adds an item to the cache
|
cleanCache | public static void cleanCache()(Code) | | This method will clear old entries from the cache
|
clearCache | public static synchronized void clearCache()(Code) | | This clears the ObjectStore cache of all entries
|
getEntry | public static byte[] getEntry(String key)(Code) | | This method gets an item from the cache
|
getLastCleared | public static long getLastCleared()(Code) | | This method returns the time the cache was last cleared
|
|
|
|