|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Uses of CacheException in net.dontdrinkandroot.cache |
|---|
| Methods in net.dontdrinkandroot.cache that throw CacheException | ||
|---|---|---|
void |
Cache.cleanUp()
Cleanup the cache. |
|
void |
Cache.delete(K key)
Manually remove an entry from the cache. |
|
MetaData |
Cache.getMetaData(K key)
Retrieve the MetaData of a cached entry if it is available. |
|
|
Cache.getWithErrors(K key)
Retrieve an entry from the cache if it is available. |
|
|
Cache.putWithErrors(K key,
T data)
Store an entry in the cache with the default time to live. |
|
|
CustomTtlCache.putWithErrors(K key,
T data,
long timeToLive)
Store an entry in the cache with a specific time to live. |
|
|
CustomTtlCache.putWithErrors(K key,
T data,
long timeToLive,
long maxIdleTime)
Store an entry in the cache with a specific time to live and max idle time. |
|
| Uses of CacheException in net.dontdrinkandroot.cache.impl |
|---|
| Methods in net.dontdrinkandroot.cache.impl that throw CacheException | ||
|---|---|---|
void |
AbstractMapBackedCache.cleanUp()
|
|
void |
AbstractMapBackedCache.delete(K key)
|
|
void |
AbstractMapBackedCache.delete(K key,
M metaData)
|
|
protected abstract void |
AbstractMapBackedCache.doDelete(K key,
M metaData)
Performs deletion of the data belonging to the metadata. |
|
protected abstract
|
AbstractMapBackedCache.doGet(K key,
M metaData)
Performs retrieval of the data belonging to the metadata. |
|
protected
|
AbstractMapBackedCustomTtlCache.doPut(K key,
T data)
|
|
protected abstract
|
AbstractMapBackedCache.doPut(K key,
T data)
Performs storage of the given data and adds new metadata to the map. |
|
protected abstract
|
AbstractMapBackedCustomTtlCache.doPut(K key,
T data,
long timeToLive,
long defaultMaxIdleTime)
Performs storage of the given data and adds new metadata to the map. |
|
protected void |
AbstractMapBackedCache.expunge(Collection<Map.Entry<K,M>> expungeEntriesMetaData)
Performs the actual expunging of entries with the given metadata. |
|
MetaData |
AbstractMapBackedCache.getMetaData(K key)
|
|
|
AbstractMapBackedCache.getWithErrors(K key)
|
|
|
AbstractMapBackedCache.putWithErrors(K key,
T data)
|
|
|
AbstractMapBackedCustomTtlCache.putWithErrors(K key,
T data,
long timeToLive)
|
|
|
AbstractMapBackedCustomTtlCache.putWithErrors(K key,
T data,
long timeToLive,
long maxIdleTime)
|
|
| Uses of CacheException in net.dontdrinkandroot.cache.impl.disk.file |
|---|
| Methods in net.dontdrinkandroot.cache.impl.disk.file that throw CacheException | |
|---|---|
protected void |
FileCache.doDelete(Md5 key,
SimpleMetaData metaData)
|
protected File |
FileCache.doGet(Md5 key,
SimpleMetaData metaData)
|
protected File |
FileCache.doPut(Md5 md5,
File data)
|
protected Map<Md5,SimpleMetaData> |
FileCache.readInitialMap()
|
| Constructors in net.dontdrinkandroot.cache.impl.disk.file that throw CacheException | |
|---|---|
FileCache(String name,
long defaultTimeToLive,
long defaultMaxIdleTime,
ExpungeStrategy expungeStrategy,
File baseDir,
int directoryDepth)
|
|
| Uses of CacheException in net.dontdrinkandroot.cache.impl.disk.indexed |
|---|
| Methods in net.dontdrinkandroot.cache.impl.disk.indexed that throw CacheException | ||
|---|---|---|
byte[] |
ByteArrayIndexedDiskCache.dataFromBytes(byte[] data)
|
|
|
SerializableIndexedDiskCache.dataFromBytes(byte[] dataBytes)
|
|
protected abstract
|
AbstractIndexedDiskCache.dataFromBytes(byte[] data)
|
|
byte[] |
ByteArrayIndexedDiskCache.dataToBytes(byte[] data)
|
|
|
SerializableIndexedDiskCache.dataToBytes(T data)
|
|
protected abstract
|
AbstractIndexedDiskCache.dataToBytes(T data)
|
|
protected void |
AbstractIndexedDiskCache.doDelete(K key,
BlockMetaData metaData)
|
|
protected void |
BufferedSerializableIndexedDiskCache.doDelete(Serializable key,
BlockMetaData metaData)
|
|
protected
|
AbstractIndexedDiskCache.doGet(K key,
BlockMetaData metaData)
|
|
protected
|
BufferedSerializableIndexedDiskCache.doGet(Serializable key,
BlockMetaData metaData)
|
|
protected
|
AbstractIndexedDiskCache.doPut(K key,
T data,
long timeToLive,
long maxIdleTime)
|
|
protected
|
BufferedSerializableIndexedDiskCache.doPut(Serializable key,
T data,
long timeToLive,
long maxIdleTime)
|
|
| Uses of CacheException in net.dontdrinkandroot.cache.impl.memory |
|---|
| Methods in net.dontdrinkandroot.cache.impl.memory that throw CacheException | ||
|---|---|---|
void |
NoopCache.delete(K key)
|
|
protected void |
MemoryCache.doDelete(K key,
SimpleMetaData metaData)
|
|
protected
|
MemoryCache.doGet(K key,
SimpleMetaData metaData)
|
|
protected
|
MemoryCache.doPut(K key,
T data,
long timeToLive,
long maxIdleTime)
|
|
MetaData |
NoopCache.getMetaData(K key)
|
|
|
NoopCache.getWithErrors(K key)
|
|
|
NoopCache.putWithErrors(K key,
T data)
|
|
|
NoopCache.putWithErrors(K key,
T data,
long timeToLive)
|
|
|
NoopCache.putWithErrors(K key,
T data,
long timeToLive,
long maxIdleTime)
|
|
| Uses of CacheException in net.dontdrinkandroot.cache.metadata.impl |
|---|
| Subclasses of CacheException in net.dontdrinkandroot.cache.metadata.impl | |
|---|---|
class |
CheckSumNotMatchingException
Exception that denotes that the checksum was not matching the data. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||