## Uses of Class
net.dontdrinkandroot.cache.CacheException

Packages that use CacheException
Package | Description
--- | ---
net.dontdrinkandroot.cache |
net.dontdrinkandroot.cache.impl |
net.dontdrinkandroot.cache.impl.disk.file |
net.dontdrinkandroot.cache.impl.disk.indexed |
net.dontdrinkandroot.cache.impl.memory |
net.dontdrinkandroot.cache.metadata.impl |

### Uses of CacheException in net.dontdrinkandroot.cache

Methods in net.dontdrinkandroot.cache that throw CacheException
Modifier and Type | Method and Description
--- | ---
`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.
`<T extends V> T` | Cache.`getWithErrors(K key)` Retrieve an entry from the cache if it is available.
`<T extends V> T` | Cache.`putWithErrors(K key, T data)` Store an entry in the cache with the default time to live.
`<T extends V> T` | CustomTtlCache.`putWithErrors(K key, T data, long timeToLive)` Store an entry in the cache with a specific time to live.
`<T extends V> T` | 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
Modifier and Type | Method and Description
--- | ---
`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 <T extends V> T` | AbstractMapBackedCache.`doGet(K key, M metaData)` Performs retrieval of the data belonging to the metadata.
`protected <T extends V> T` | AbstractMapBackedCustomTtlCache.`doPut(K key, T data)`
`protected abstract <T extends V> T` | AbstractMapBackedCache.`doPut(K key, T data)` Performs storage of the given data and adds new metadata to the map.
`protected abstract <T extends V> T` | 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)`
`<T extends V> T` | AbstractMapBackedCache.`getWithErrors(K key)`
`<T extends V> T` | AbstractMapBackedCache.`putWithErrors(K key, T data)`
`<T extends V> T` | AbstractMapBackedCustomTtlCache.`putWithErrors(K key, T data, long timeToLive)`
`<T extends V> T` | 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
Modifier and Type | Method and Description
--- | ---
`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
Constructor and Description
`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
Modifier and Type | Method and Description
--- | ---
`byte[]` | ByteArrayIndexedDiskCache.`dataFromBytes(byte[] data)`
`<T extends Serializable> T` | SerializableIndexedDiskCache.`dataFromBytes(byte[] dataBytes)`
`protected abstract <T extends V> T` | AbstractIndexedDiskCache.`dataFromBytes(byte[] data)`
`byte[]` | ByteArrayIndexedDiskCache.`dataToBytes(byte[] data)`
`<T extends Serializable> byte[]` | SerializableIndexedDiskCache.`dataToBytes(T data)`
`protected abstract <T extends V> byte[]` | AbstractIndexedDiskCache.`dataToBytes(T data)`
`protected void` | AbstractIndexedDiskCache.`doDelete(K key, BlockMetaData metaData)`
`protected void` | BufferedSerializableIndexedDiskCache.`doDelete(Serializable key, BlockMetaData metaData)`
`protected <T extends V> T` | AbstractIndexedDiskCache.`doGet(K key, BlockMetaData metaData)`
`protected <T extends Serializable> T` | BufferedSerializableIndexedDiskCache.`doGet(Serializable key, BlockMetaData metaData)`
`protected <T extends V> T` | AbstractIndexedDiskCache.`doPut(K key, T data, long timeToLive, long maxIdleTime)`
`protected <T extends Serializable> T` | 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
Modifier and Type | Method and Description
--- | ---
`void` | NoopCache.`delete(K key)`
`protected void` | MemoryCache.`doDelete(K key, SimpleMetaData metaData)`
`protected <T extends V> T` | MemoryCache.`doGet(K key, SimpleMetaData metaData)`
`protected <T extends V> T` | MemoryCache.`doPut(K key, T data, long timeToLive, long maxIdleTime)`
`MetaData` | NoopCache.`getMetaData(K key)`
`<T extends V> T` | NoopCache.`getWithErrors(K key)`
`<T extends V> T` | NoopCache.`putWithErrors(K key, T data)`
`<T extends V> T` | NoopCache.`putWithErrors(K key, T data, long timeToLive)`
`<T extends V> T` | 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
Modifier and Type | Class and Description
--- | ---
`class` | `CheckSumNotMatchingException` Exception that denotes that the checksum was not matching the data.