A B C D E F G H I K L M N O P R S T U V W 

A

AbstractCache<K,V> - Class in net.dontdrinkandroot.cache.impl
 
AbstractCache(String, long) - Constructor for class net.dontdrinkandroot.cache.impl.AbstractCache
 
AbstractCache(String, long, long) - Constructor for class net.dontdrinkandroot.cache.impl.AbstractCache
 
AbstractIndexedDiskCache<K extends Serializable,V extends Serializable> - Class in net.dontdrinkandroot.cache.impl.disk.indexed
 
AbstractIndexedDiskCache(String, long, ExpungeStrategy, File) - Constructor for class net.dontdrinkandroot.cache.impl.disk.indexed.AbstractIndexedDiskCache
 
AbstractIndexedDiskCache(String, long, long, ExpungeStrategy, File) - Constructor for class net.dontdrinkandroot.cache.impl.disk.indexed.AbstractIndexedDiskCache
 
AbstractMapBackedCache<K,V,M extends MetaData> - Class in net.dontdrinkandroot.cache.impl
 
AbstractMapBackedCache(String, long, ExpungeStrategy) - Constructor for class net.dontdrinkandroot.cache.impl.AbstractMapBackedCache
Construct a new AbstractCache.
AbstractMapBackedCache(String, long, long, ExpungeStrategy) - Constructor for class net.dontdrinkandroot.cache.impl.AbstractMapBackedCache
Construct a new AbstractCache.
AbstractMapBackedCustomTtlCache<K,V,M extends MetaData> - Class in net.dontdrinkandroot.cache.impl
 
AbstractMapBackedCustomTtlCache(String, long, ExpungeStrategy) - Constructor for class net.dontdrinkandroot.cache.impl.AbstractMapBackedCustomTtlCache
Construct a new AbstractCustomTtlCache.
AbstractMapBackedCustomTtlCache(String, long, long, ExpungeStrategy) - Constructor for class net.dontdrinkandroot.cache.impl.AbstractMapBackedCustomTtlCache
Construct a new AbstractCustomTtlCache.
AbstractMaxSizeExpungeStrategy - Class in net.dontdrinkandroot.cache.expungestrategy.impl
An ExpungeStrategy that selects all expired entries and entries according to the implementation so that after those entries have been expunged the cache size is not larger that the given max size.
AbstractMaxSizeExpungeStrategy(int) - Constructor for class net.dontdrinkandroot.cache.expungestrategy.impl.AbstractMaxSizeExpungeStrategy
Constructs a new AbstractMaxSizeExpungeStrategy with the given max size.
AbstractOneOverMaxSizeExpungeStrategy - Class in net.dontdrinkandroot.cache.expungestrategy.impl
An AbstractMaxSizeExpungeStrategy that triggers if the cache size is larger than the max size and selects the entries to evict by the given comparator.
AbstractOneOverMaxSizeExpungeStrategy(int) - Constructor for class net.dontdrinkandroot.cache.expungestrategy.impl.AbstractOneOverMaxSizeExpungeStrategy
Constructs a new AbstractOneOverMaxSizeExpungeStrategy with the given max size and MetaDataComparator.
AbstractRecyclingExpungeStrategy - Class in net.dontdrinkandroot.cache.expungestrategy.impl
An AbstractMaxSizeExpungeStrategy that triggers once the cache size is larger than a max size plus a recycle size or a recycle factor.
AbstractRecyclingExpungeStrategy(int, float) - Constructor for class net.dontdrinkandroot.cache.expungestrategy.impl.AbstractRecyclingExpungeStrategy
Constructs a new AbstractRecyclingExpungeStrategy with the given max size and recycle factor (a value between 0 and 1 that is the percentage of the max size to be used as the recycle size).
AbstractRecyclingExpungeStrategy(int, int) - Constructor for class net.dontdrinkandroot.cache.expungestrategy.impl.AbstractRecyclingExpungeStrategy
Constructs a new AbstractRecyclingExpungeStrategy with the given max size and recycle size.
allocateSpace(DataBlock) - Method in class net.dontdrinkandroot.cache.impl.disk.indexed.storage.DataFile
 
AllocationException - Exception in net.dontdrinkandroot.cache.impl.disk.indexed.storage
Exception that denotes that the allocation of a block failed.
AllocationException(String) - Constructor for exception net.dontdrinkandroot.cache.impl.disk.indexed.storage.AllocationException
 
assertAllocatedConsistency() - Method in class net.dontdrinkandroot.cache.impl.disk.indexed.ByteArrayIndexedDiskCache
 

B

BlockMetaData - Class in net.dontdrinkandroot.cache.metadata.impl
 
BlockMetaData(IndexData, SimpleMetaData) - Constructor for class net.dontdrinkandroot.cache.metadata.impl.BlockMetaData
 
blockNum - Variable in class net.dontdrinkandroot.cache.impl.disk.indexed.storage.IndexData
 
BufferedSerializableIndexedDiskCache - Class in net.dontdrinkandroot.cache.impl.disk.indexed
A SerializableIndexedDiskCache that buffers entries in memory on successful disk put and get operations.
BufferedSerializableIndexedDiskCache(String, long, ExpungeStrategy, File, ExpungeStrategy) - Constructor for class net.dontdrinkandroot.cache.impl.disk.indexed.BufferedSerializableIndexedDiskCache
 
BufferedSerializableIndexedDiskCache(String, long, long, ExpungeStrategy, File, ExpungeStrategy) - Constructor for class net.dontdrinkandroot.cache.impl.disk.indexed.BufferedSerializableIndexedDiskCache
 
bufferExpungeStrategy - Variable in class net.dontdrinkandroot.cache.impl.disk.indexed.BufferedSerializableIndexedDiskCache
 
buildIndex() - Method in class net.dontdrinkandroot.cache.impl.disk.indexed.AbstractIndexedDiskCache
 
ByteArrayIndexedDiskCache - Class in net.dontdrinkandroot.cache.impl.disk.indexed
 
ByteArrayIndexedDiskCache(String, long, ExpungeStrategy, File) - Constructor for class net.dontdrinkandroot.cache.impl.disk.indexed.ByteArrayIndexedDiskCache
 
ByteArrayIndexedDiskCache(String, long, long, ExpungeStrategy, File) - Constructor for class net.dontdrinkandroot.cache.impl.disk.indexed.ByteArrayIndexedDiskCache
 

C

Cache<K,V> - Interface in net.dontdrinkandroot.cache
A cache is a component that transparently stores data so that future requests for that data can be served faster.
CacheException - Exception in net.dontdrinkandroot.cache
Exception that denotes that something went wrong while accessing the cache (while storing, retrieving or constructing).
CacheException() - Constructor for exception net.dontdrinkandroot.cache.CacheException
 
CacheException(String) - Constructor for exception net.dontdrinkandroot.cache.CacheException
 
CacheException(Throwable) - Constructor for exception net.dontdrinkandroot.cache.CacheException
 
CacheException(String, Throwable) - Constructor for exception net.dontdrinkandroot.cache.CacheException
 
CacheStatistics - Interface in net.dontdrinkandroot.cache.statistics
 
checkConsistency() - Method in class net.dontdrinkandroot.cache.impl.disk.indexed.storage.DataFile
 
CheckSumNotMatchingException - Exception in net.dontdrinkandroot.cache.metadata.impl
Exception that denotes that the checksum was not matching the data.
CheckSumNotMatchingException() - Constructor for exception net.dontdrinkandroot.cache.metadata.impl.CheckSumNotMatchingException
 
cleanDirectory(File) - Static method in class net.dontdrinkandroot.cache.utils.FileUtils
 
cleanUp() - Method in interface net.dontdrinkandroot.cache.Cache
Cleanup the cache.
cleanUp() - Method in class net.dontdrinkandroot.cache.impl.AbstractMapBackedCache
 
cleanUp() - Method in class net.dontdrinkandroot.cache.impl.memory.NoopCache
 
clone(T) - Static method in class net.dontdrinkandroot.cache.utils.Serializer
Fast cloning as described here.
close() - Method in class net.dontdrinkandroot.cache.impl.disk.indexed.AbstractIndexedDiskCache
Closes the cache.
close() - Method in class net.dontdrinkandroot.cache.impl.disk.indexed.storage.DataFile
Closes the underlying random access file.
close() - Method in class net.dontdrinkandroot.cache.impl.disk.indexed.storage.IndexFile
Closes the underlying random access file.
closeQuietly(Closeable) - Static method in class net.dontdrinkandroot.cache.utils.FileUtils
 
compare(Map.Entry<K, M>, Map.Entry<K, M>) - Method in class net.dontdrinkandroot.cache.metadata.comparator.impl.LfuComparator
 
compare(Map.Entry<K, M>, Map.Entry<K, M>) - Method in class net.dontdrinkandroot.cache.metadata.comparator.impl.LruComparator
 
compare(T, T) - Static method in class net.dontdrinkandroot.cache.utils.ObjectUtils
 
compare(T, T, boolean) - Static method in class net.dontdrinkandroot.cache.utils.ObjectUtils
 
compareTo(DataBlock) - Method in class net.dontdrinkandroot.cache.impl.disk.indexed.storage.DataBlock
 
copyData(T) - Method in class net.dontdrinkandroot.cache.impl.disk.indexed.BufferedSerializableIndexedDiskCache
Creates a copy of the given data.
copyData(T) - Method in class net.dontdrinkandroot.cache.impl.memory.MemoryCache
 
copyFile(File, File) - Static method in class net.dontdrinkandroot.cache.utils.FileUtils
 
copyFile(File, File, boolean) - Static method in class net.dontdrinkandroot.cache.utils.FileUtils
 
createDirStructure(File, int) - Method in class net.dontdrinkandroot.cache.impl.disk.file.FileCache
Recursively creates directories 0x0 - 0xF until the desired depth is reached.
CustomTtlCache<K,V> - Interface in net.dontdrinkandroot.cache
A Cache that permits storing entries with an individual time to live and an individual idle time.

D

DataBlock - Class in net.dontdrinkandroot.cache.impl.disk.indexed.storage
 
DataBlock(long, long) - Constructor for class net.dontdrinkandroot.cache.impl.disk.indexed.storage.DataBlock
 
dataFile - Variable in class net.dontdrinkandroot.cache.impl.disk.indexed.AbstractIndexedDiskCache
 
DataFile - Class in net.dontdrinkandroot.cache.impl.disk.indexed.storage
 
DataFile(File) - Constructor for class net.dontdrinkandroot.cache.impl.disk.indexed.storage.DataFile
 
dataFromBytes(byte[]) - Method in class net.dontdrinkandroot.cache.impl.disk.indexed.AbstractIndexedDiskCache
 
dataFromBytes(byte[]) - Method in class net.dontdrinkandroot.cache.impl.disk.indexed.ByteArrayIndexedDiskCache
 
dataFromBytes(byte[]) - Method in class net.dontdrinkandroot.cache.impl.disk.indexed.SerializableIndexedDiskCache
 
dataMap - Variable in class net.dontdrinkandroot.cache.impl.memory.MemoryCache
 
dataToBytes(T) - Method in class net.dontdrinkandroot.cache.impl.disk.indexed.AbstractIndexedDiskCache
 
dataToBytes(byte[]) - Method in class net.dontdrinkandroot.cache.impl.disk.indexed.ByteArrayIndexedDiskCache
 
dataToBytes(T) - Method in class net.dontdrinkandroot.cache.impl.disk.indexed.SerializableIndexedDiskCache
 
days(int) - Static method in class net.dontdrinkandroot.cache.utils.Duration
 
decodeHex(char[]) - Static method in class net.dontdrinkandroot.cache.utils.Md5
 
delete(K) - Method in interface net.dontdrinkandroot.cache.Cache
Manually remove an entry from the cache.
delete(K) - Method in class net.dontdrinkandroot.cache.impl.AbstractMapBackedCache
 
delete(K, M) - Method in class net.dontdrinkandroot.cache.impl.AbstractMapBackedCache
 
delete(DataBlock, boolean) - Method in class net.dontdrinkandroot.cache.impl.disk.indexed.storage.DataFile
 
delete(IndexData) - Method in class net.dontdrinkandroot.cache.impl.disk.indexed.storage.IndexFile
Deletes the block of the given metaData.
delete(int) - Method in class net.dontdrinkandroot.cache.impl.disk.indexed.storage.IndexFile
Deletes the given block.
delete(K) - Method in class net.dontdrinkandroot.cache.impl.memory.NoopCache
 
deleteDirectory(File) - Static method in class net.dontdrinkandroot.cache.utils.FileUtils
 
deserialize(byte[]) - Static method in class net.dontdrinkandroot.cache.utils.Serializer
 
deserialize(InputStream) - Static method in class net.dontdrinkandroot.cache.utils.Serializer
 
doDelete(K, M) - Method in class net.dontdrinkandroot.cache.impl.AbstractMapBackedCache
Performs deletion of the data belonging to the metadata.
doDelete(Md5, SimpleMetaData) - Method in class net.dontdrinkandroot.cache.impl.disk.file.FileCache
 
doDelete(K, BlockMetaData) - Method in class net.dontdrinkandroot.cache.impl.disk.indexed.AbstractIndexedDiskCache
 
doDelete(Serializable, BlockMetaData) - Method in class net.dontdrinkandroot.cache.impl.disk.indexed.BufferedSerializableIndexedDiskCache
 
doDelete(K, SimpleMetaData) - Method in class net.dontdrinkandroot.cache.impl.memory.MemoryCache
 
doGet(K, M) - Method in class net.dontdrinkandroot.cache.impl.AbstractMapBackedCache
Performs retrieval of the data belonging to the metadata.
doGet(Md5, SimpleMetaData) - Method in class net.dontdrinkandroot.cache.impl.disk.file.FileCache
 
doGet(K, BlockMetaData) - Method in class net.dontdrinkandroot.cache.impl.disk.indexed.AbstractIndexedDiskCache
 
doGet(Serializable, BlockMetaData) - Method in class net.dontdrinkandroot.cache.impl.disk.indexed.BufferedSerializableIndexedDiskCache
 
doGet(K, SimpleMetaData) - Method in class net.dontdrinkandroot.cache.impl.memory.MemoryCache
 
doPut(K, T) - Method in class net.dontdrinkandroot.cache.impl.AbstractMapBackedCache
Performs storage of the given data and adds new metadata to the map.
doPut(K, T) - Method in class net.dontdrinkandroot.cache.impl.AbstractMapBackedCustomTtlCache
 
doPut(K, T, long, long) - Method in class net.dontdrinkandroot.cache.impl.AbstractMapBackedCustomTtlCache
Performs storage of the given data and adds new metadata to the map.
doPut(Md5, File) - Method in class net.dontdrinkandroot.cache.impl.disk.file.FileCache
 
doPut(K, T, long, long) - Method in class net.dontdrinkandroot.cache.impl.disk.indexed.AbstractIndexedDiskCache
 
doPut(Serializable, T, long, long) - Method in class net.dontdrinkandroot.cache.impl.disk.indexed.BufferedSerializableIndexedDiskCache
 
doPut(K, T, long, long) - Method in class net.dontdrinkandroot.cache.impl.memory.MemoryCache
 
Duration - Class in net.dontdrinkandroot.cache.utils
 
Duration() - Constructor for class net.dontdrinkandroot.cache.utils.Duration
 

E

encodeHex(byte[]) - Static method in class net.dontdrinkandroot.cache.utils.Md5
 
equals(Object) - Method in class net.dontdrinkandroot.cache.impl.disk.indexed.storage.DataBlock
 
equals(Object) - Method in class net.dontdrinkandroot.cache.utils.Md5
 
ExpiredOnlyExpungeStrategy - Class in net.dontdrinkandroot.cache.expungestrategy.impl
ExpungeStrategy that selects only entries that are expired.
ExpiredOnlyExpungeStrategy(long) - Constructor for class net.dontdrinkandroot.cache.expungestrategy.impl.ExpiredOnlyExpungeStrategy
expunge(Collection<Map.Entry<K, M>>) - Method in class net.dontdrinkandroot.cache.impl.AbstractMapBackedCache
Performs the actual expunging of entries with the given metadata.
ExpungeStrategy - Interface in net.dontdrinkandroot.cache.expungestrategy
An ExpungeStrategy is called by caches to select the entries to evict.

F

file - Variable in class net.dontdrinkandroot.cache.impl.disk.indexed.storage.DataFile
 
FileCache - Class in net.dontdrinkandroot.cache.impl.disk.file
 
FileCache(String, long, long, ExpungeStrategy, File, int) - Constructor for class net.dontdrinkandroot.cache.impl.disk.file.FileCache
 
FileUtils - Class in net.dontdrinkandroot.cache.utils
Required methods from Apache Commons IO FileUtils.
FileUtils() - Constructor for class net.dontdrinkandroot.cache.utils.FileUtils
 
forceDelete(File) - Static method in class net.dontdrinkandroot.cache.utils.FileUtils
 
fromMd5Hex(String) - Static method in class net.dontdrinkandroot.cache.utils.Md5
 

G

get(K) - Method in interface net.dontdrinkandroot.cache.Cache
Retrieve an entry from the cache if it is available.
get(K) - Method in class net.dontdrinkandroot.cache.impl.AbstractMapBackedCache
 
get(K) - Method in class net.dontdrinkandroot.cache.impl.memory.NoopCache
 
getBaseDir() - Method in class net.dontdrinkandroot.cache.impl.disk.file.FileCache
 
getBlockNum() - Method in class net.dontdrinkandroot.cache.impl.disk.indexed.storage.IndexData
 
getBufferMaxSize() - Method in class net.dontdrinkandroot.cache.impl.disk.indexed.LruBufferedSerializableIndexedDiskCache
 
getBufferMaxSize() - Method in interface net.dontdrinkandroot.cache.LruBufferedCache
 
getBufferRecycleSize() - Method in class net.dontdrinkandroot.cache.impl.disk.indexed.LruBufferedSerializableIndexedDiskCache
 
getBufferRecycleSize() - Method in interface net.dontdrinkandroot.cache.LruBufferedCache
 
getBufferStatistics() - Method in class net.dontdrinkandroot.cache.impl.disk.indexed.BufferedSerializableIndexedDiskCache
Get the cache statistics of the buffer.
getBytes() - Method in class net.dontdrinkandroot.cache.utils.Md5
 
getCacheHits() - Method in interface net.dontdrinkandroot.cache.statistics.CacheStatistics
Get the total number of cache hits.
getCacheHits() - Method in class net.dontdrinkandroot.cache.statistics.impl.SimpleCacheStatistics
 
getCacheMisses() - Method in interface net.dontdrinkandroot.cache.statistics.CacheStatistics
Get the total number of cache misses.
getCacheMisses() - Method in class net.dontdrinkandroot.cache.statistics.impl.SimpleCacheStatistics
 
getCacheMissesExpired() - Method in interface net.dontdrinkandroot.cache.statistics.CacheStatistics
Get the number of cache misses where the entry was expired.
getCacheMissesExpired() - Method in class net.dontdrinkandroot.cache.statistics.impl.SimpleCacheStatistics
 
getCacheMissesNotFound() - Method in interface net.dontdrinkandroot.cache.statistics.CacheStatistics
Get the number of cache misses where the entry was not found.
getCacheMissesNotFound() - Method in class net.dontdrinkandroot.cache.statistics.impl.SimpleCacheStatistics
 
getCleanUpLogger() - Method in class net.dontdrinkandroot.cache.impl.AbstractCache
 
getComparator() - Method in class net.dontdrinkandroot.cache.expungestrategy.impl.AbstractMaxSizeExpungeStrategy
 
getComparator() - Method in class net.dontdrinkandroot.cache.expungestrategy.impl.LfuExpungeStrategy
 
getComparator() - Method in class net.dontdrinkandroot.cache.expungestrategy.impl.LfuRecyclingExpungeStrategy
 
getComparator() - Method in class net.dontdrinkandroot.cache.expungestrategy.impl.LruExpungeStrategy
 
getComparator() - Method in class net.dontdrinkandroot.cache.expungestrategy.impl.LruRecyclingExpungeStrategy
 
getCreated() - Method in class net.dontdrinkandroot.cache.impl.disk.indexed.storage.KeyedMetaData
 
getCreated() - Method in class net.dontdrinkandroot.cache.metadata.impl.BlockMetaData
 
getCreated() - Method in class net.dontdrinkandroot.cache.metadata.impl.SimpleMetaData
 
getCreated() - Method in interface net.dontdrinkandroot.cache.metadata.MetaData
Get the timestamp when the entry was created.
getCurrentSize() - Method in interface net.dontdrinkandroot.cache.statistics.CacheStatistics
Get the current size (the number of entries) in the cache.
getCurrentSize() - Method in class net.dontdrinkandroot.cache.statistics.impl.SimpleCacheStatistics
 
getDataFileNumAllocatedBlocks() - Method in class net.dontdrinkandroot.cache.impl.disk.indexed.ByteArrayIndexedDiskCache
 
getDataFileNumAllocatedBlocks() - Method in class net.dontdrinkandroot.cache.impl.disk.indexed.SerializableIndexedDiskCache
 
getDefaultMaxIdleTime() - Method in interface net.dontdrinkandroot.cache.Cache
Get the default max idle time for cache entries.
getDefaultMaxIdleTime() - Method in class net.dontdrinkandroot.cache.impl.AbstractCache
 
getDefaultMaxIdleTime() - Method in class net.dontdrinkandroot.cache.impl.memory.NoopCache
 
getDefaultTtl() - Method in interface net.dontdrinkandroot.cache.Cache
Retrieve the default time to live for cache entries.
getDefaultTtl() - Method in class net.dontdrinkandroot.cache.impl.AbstractCache
 
getDefaultTtl() - Method in class net.dontdrinkandroot.cache.impl.memory.NoopCache
 
getEndPosition() - Method in class net.dontdrinkandroot.cache.impl.disk.indexed.storage.DataBlock
 
getEntriesMetaData() - Method in class net.dontdrinkandroot.cache.impl.AbstractMapBackedCache
Returns a copy of the List of all metadata entries.
getEntriesMetaDataMap() - Method in class net.dontdrinkandroot.cache.impl.AbstractMapBackedCache
 
getExpiry() - Method in class net.dontdrinkandroot.cache.impl.disk.indexed.storage.KeyedMetaData
 
getExpiry() - Method in class net.dontdrinkandroot.cache.metadata.impl.BlockMetaData
 
getExpiry() - Method in class net.dontdrinkandroot.cache.metadata.impl.SimpleMetaData
 
getExpiry() - Method in interface net.dontdrinkandroot.cache.metadata.MetaData
Get the timestamp when the entry expires.
getExpungeStrategy() - Method in class net.dontdrinkandroot.cache.impl.AbstractMapBackedCache
 
getFileName(Md5) - Method in class net.dontdrinkandroot.cache.impl.disk.file.FileCache
 
getFileName() - Method in class net.dontdrinkandroot.cache.impl.disk.indexed.storage.DataFile
 
getGetCount() - Method in interface net.dontdrinkandroot.cache.statistics.CacheStatistics
Get the total get count.
getGetCount() - Method in class net.dontdrinkandroot.cache.statistics.impl.SimpleCacheStatistics
 
getHex() - Method in class net.dontdrinkandroot.cache.utils.Md5
 
getHitCount() - Method in class net.dontdrinkandroot.cache.metadata.impl.BlockMetaData
 
getHitCount() - Method in class net.dontdrinkandroot.cache.metadata.impl.SimpleMetaData
 
getHitCount() - Method in interface net.dontdrinkandroot.cache.metadata.MetaData
Get the number of hits.
getHitRate() - Method in interface net.dontdrinkandroot.cache.statistics.CacheStatistics
Get the current hit rate, this is a value [0,1] which is the percentage of hits on all get requests.
getHitRate() - Method in class net.dontdrinkandroot.cache.statistics.impl.SimpleCacheStatistics
 
getIndexData() - Method in class net.dontdrinkandroot.cache.metadata.impl.BlockMetaData
 
getIndexFileNumAllocatedBlocks() - Method in class net.dontdrinkandroot.cache.impl.disk.indexed.SerializableIndexedDiskCache
 
getKey() - Method in class net.dontdrinkandroot.cache.impl.disk.indexed.storage.KeyedMetaData
 
getKeyMetaBlock() - Method in class net.dontdrinkandroot.cache.impl.disk.indexed.storage.IndexData
 
getLastAccess() - Method in class net.dontdrinkandroot.cache.metadata.impl.BlockMetaData
 
getLastAccess() - Method in class net.dontdrinkandroot.cache.metadata.impl.SimpleMetaData
 
getLastAccess() - Method in interface net.dontdrinkandroot.cache.metadata.MetaData
Get the timestamp when the entry was last accessed.
getLength() - Method in class net.dontdrinkandroot.cache.impl.disk.indexed.storage.DataBlock
 
getLogger() - Method in class net.dontdrinkandroot.cache.impl.AbstractCache
 
getMaxIdleTime() - Method in class net.dontdrinkandroot.cache.impl.disk.indexed.storage.KeyedMetaData
 
getMaxIdleTime() - Method in class net.dontdrinkandroot.cache.metadata.impl.BlockMetaData
 
getMaxIdleTime() - Method in class net.dontdrinkandroot.cache.metadata.impl.SimpleMetaData
 
getMaxIdleTime() - Method in interface net.dontdrinkandroot.cache.metadata.MetaData
Get the maximum time that the entry may idle (not being accessed) before being evicted (in milliseconds).
getMaxSize() - Method in class net.dontdrinkandroot.cache.expungestrategy.impl.AbstractMaxSizeExpungeStrategy
Get the current max size of this strategy.
getMaxSize() - Method in class net.dontdrinkandroot.cache.impl.disk.indexed.LruBufferedSerializableIndexedDiskCache
 
getMaxSize() - Method in interface net.dontdrinkandroot.cache.LruCache
 
getMetaData(K) - Method in interface net.dontdrinkandroot.cache.Cache
Retrieve the MetaData of a cached entry if it is available.
getMetaData(K) - Method in class net.dontdrinkandroot.cache.impl.AbstractMapBackedCache
 
getMetaData() - Method in class net.dontdrinkandroot.cache.impl.disk.indexed.storage.KeyedMetaData
 
getMetaData(K) - Method in class net.dontdrinkandroot.cache.impl.memory.NoopCache
 
getMetaData() - Method in class net.dontdrinkandroot.cache.metadata.impl.BlockMetaData
 
getMetaFileNumAllocatedBlocks() - Method in class net.dontdrinkandroot.cache.impl.disk.indexed.ByteArrayIndexedDiskCache
 
getName() - Method in interface net.dontdrinkandroot.cache.Cache
Get the name of this cache.
getName() - Method in class net.dontdrinkandroot.cache.impl.AbstractCache
 
getName() - Method in class net.dontdrinkandroot.cache.impl.memory.NoopCache
 
getNumAllocated() - Method in class net.dontdrinkandroot.cache.impl.disk.indexed.storage.DataFile
 
getNumAllocated() - Method in class net.dontdrinkandroot.cache.impl.disk.indexed.storage.IndexFile
Gets the number of allocated blocks.
getPutCount() - Method in interface net.dontdrinkandroot.cache.statistics.CacheStatistics
Get the total put count.
getPutCount() - Method in class net.dontdrinkandroot.cache.statistics.impl.SimpleCacheStatistics
 
getRecycleSize() - Method in class net.dontdrinkandroot.cache.expungestrategy.impl.AbstractRecyclingExpungeStrategy
Get the recycle size.
getRecycleSize() - Method in class net.dontdrinkandroot.cache.impl.disk.indexed.LruBufferedSerializableIndexedDiskCache
 
getRecycleSize() - Method in interface net.dontdrinkandroot.cache.LruCache
 
getStartPosition() - Method in class net.dontdrinkandroot.cache.impl.disk.indexed.storage.DataBlock
 
getStatistics() - Method in interface net.dontdrinkandroot.cache.Cache
Get statistics of the cache like hitrate, or size.
getStatistics() - Method in class net.dontdrinkandroot.cache.impl.AbstractMapBackedCache
 
getStatistics() - Method in class net.dontdrinkandroot.cache.impl.memory.NoopCache
 
getTempDirectory() - Static method in class net.dontdrinkandroot.cache.utils.FileUtils
 
getTempDirectoryPath() - Static method in class net.dontdrinkandroot.cache.utils.FileUtils
 
getToExpungeMetaData(Set<Map.Entry<K, M>>) - Method in interface net.dontdrinkandroot.cache.expungestrategy.ExpungeStrategy
Returns a collection of entries that should be expunged according to this strategy.
getToExpungeMetaData(Set<Map.Entry<K, M>>) - Method in class net.dontdrinkandroot.cache.expungestrategy.impl.AbstractMaxSizeExpungeStrategy
 
getToExpungeMetaData(Set<Map.Entry<K, M>>) - Method in class net.dontdrinkandroot.cache.expungestrategy.impl.ExpiredOnlyExpungeStrategy
 
getToExpungeMetaData(Set<Map.Entry<K, M>>) - Method in class net.dontdrinkandroot.cache.expungestrategy.impl.NoopExpungeStrategy
 
getValueBlock() - Method in class net.dontdrinkandroot.cache.impl.disk.indexed.storage.IndexData
 
getWithErrors(K) - Method in interface net.dontdrinkandroot.cache.Cache
Retrieve an entry from the cache if it is available.
getWithErrors(K) - Method in class net.dontdrinkandroot.cache.impl.AbstractMapBackedCache
 
getWithErrors(K) - Method in class net.dontdrinkandroot.cache.impl.memory.NoopCache
 
GOLDEN_RATIO - Static variable in class net.dontdrinkandroot.cache.impl.disk.indexed.storage.IndexFile
 

H

hashCode() - Method in class net.dontdrinkandroot.cache.impl.disk.indexed.storage.DataBlock
 
hashCode() - Method in class net.dontdrinkandroot.cache.utils.Md5
 
hours(int) - Static method in class net.dontdrinkandroot.cache.utils.Duration
 
HOURS_PER_DAY - Static variable in class net.dontdrinkandroot.cache.utils.Duration
 

I

increaseCacheHits() - Method in class net.dontdrinkandroot.cache.statistics.impl.SimpleCacheStatistics
 
increaseCacheMissesExpired() - Method in class net.dontdrinkandroot.cache.statistics.impl.SimpleCacheStatistics
 
increaseCacheMissesNotFound() - Method in class net.dontdrinkandroot.cache.statistics.impl.SimpleCacheStatistics
 
increaseCount() - Method in class net.dontdrinkandroot.cache.metadata.impl.SimpleMetaData
 
increaseGetCount() - Method in class net.dontdrinkandroot.cache.statistics.impl.SimpleCacheStatistics
 
increasePutCount() - Method in class net.dontdrinkandroot.cache.statistics.impl.SimpleCacheStatistics
 
IndexData - Class in net.dontdrinkandroot.cache.impl.disk.indexed.storage
 
IndexData(int, DataBlock, DataBlock) - Constructor for class net.dontdrinkandroot.cache.impl.disk.indexed.storage.IndexData
 
IndexData(DataBlock, DataBlock) - Constructor for class net.dontdrinkandroot.cache.impl.disk.indexed.storage.IndexData
 
indexFile - Variable in class net.dontdrinkandroot.cache.impl.disk.indexed.AbstractIndexedDiskCache
 
IndexFile - Class in net.dontdrinkandroot.cache.impl.disk.indexed.storage
 
IndexFile(File) - Constructor for class net.dontdrinkandroot.cache.impl.disk.indexed.storage.IndexFile
 
initialize() - Method in class net.dontdrinkandroot.cache.impl.disk.indexed.storage.IndexFile
 
isCopyOnRead() - Method in class net.dontdrinkandroot.cache.impl.disk.indexed.BufferedSerializableIndexedDiskCache
 
isCopyOnRead() - Method in class net.dontdrinkandroot.cache.impl.memory.MemoryCache
 
isCopyOnWrite() - Method in class net.dontdrinkandroot.cache.impl.disk.indexed.BufferedSerializableIndexedDiskCache
 
isCopyOnWrite() - Method in class net.dontdrinkandroot.cache.impl.memory.MemoryCache
 
isExpired() - Method in class net.dontdrinkandroot.cache.metadata.impl.BlockMetaData
 
isExpired() - Method in class net.dontdrinkandroot.cache.metadata.impl.SimpleMetaData
 
isExpired() - Method in interface net.dontdrinkandroot.cache.metadata.MetaData
Check if the entry is expired.
isIdledAway() - Method in class net.dontdrinkandroot.cache.metadata.impl.BlockMetaData
 
isIdledAway() - Method in class net.dontdrinkandroot.cache.metadata.impl.SimpleMetaData
 
isIdledAway() - Method in interface net.dontdrinkandroot.cache.metadata.MetaData
Check if the entry has not been accessed within the idle period.
isSymlink(File) - Static method in class net.dontdrinkandroot.cache.utils.FileUtils
 
isSystemWindows() - Static method in class net.dontdrinkandroot.cache.utils.FileUtils
 

K

KeyedMetaData<K extends Serializable> - Class in net.dontdrinkandroot.cache.impl.disk.indexed.storage
 
KeyedMetaData(K, long, long, long) - Constructor for class net.dontdrinkandroot.cache.impl.disk.indexed.storage.KeyedMetaData
 
KeyedMetaData(K, MetaData) - Constructor for class net.dontdrinkandroot.cache.impl.disk.indexed.storage.KeyedMetaData
 
keyMetaBlock - Variable in class net.dontdrinkandroot.cache.impl.disk.indexed.storage.IndexData
 

L

lastBlock - Variable in class net.dontdrinkandroot.cache.impl.disk.indexed.storage.DataFile
Pointer to the last used block.
LENGTH - Static variable in class net.dontdrinkandroot.cache.impl.disk.indexed.storage.DataBlock
 
length() - Method in class net.dontdrinkandroot.cache.impl.disk.indexed.storage.DataFile
Returns the length of the underlying random access file.
LENGTH - Static variable in class net.dontdrinkandroot.cache.impl.disk.indexed.storage.IndexData
 
length() - Method in class net.dontdrinkandroot.cache.impl.disk.indexed.storage.IndexFile
Returns the length of the underlying random access file.
LfuComparator<K,M extends MetaData> - Class in net.dontdrinkandroot.cache.metadata.comparator.impl
Sorts items by ascending count, if the count is equal the older item is picked.
LfuComparator() - Constructor for class net.dontdrinkandroot.cache.metadata.comparator.impl.LfuComparator
 
LfuExpungeStrategy - Class in net.dontdrinkandroot.cache.expungestrategy.impl
ExpungeStrategy that triggers on each entry added over the max size and selects the least frequently used entry.
LfuExpungeStrategy(int) - Constructor for class net.dontdrinkandroot.cache.expungestrategy.impl.LfuExpungeStrategy
 
LfuRecyclingExpungeStrategy - Class in net.dontdrinkandroot.cache.expungestrategy.impl
 
LfuRecyclingExpungeStrategy(int, float) - Constructor for class net.dontdrinkandroot.cache.expungestrategy.impl.LfuRecyclingExpungeStrategy
 
LfuRecyclingExpungeStrategy(int, int) - Constructor for class net.dontdrinkandroot.cache.expungestrategy.impl.LfuRecyclingExpungeStrategy
 
listFilesRecursive(File) - Static method in class net.dontdrinkandroot.cache.utils.FileUtils
 
lockFile - Variable in class net.dontdrinkandroot.cache.impl.disk.indexed.AbstractIndexedDiskCache
 
logger - Variable in class net.dontdrinkandroot.cache.impl.disk.indexed.storage.DataFile
 
LruBufferedCache<K,V> - Interface in net.dontdrinkandroot.cache
A Buffered Cache that has a LruRecyclingExpungeStrategy for both persistent storage and buffer.
LruBufferedSerializableIndexedDiskCache - Class in net.dontdrinkandroot.cache.impl.disk.indexed
LruBufferedSerializableIndexedDiskCache(String, long, File, int, int, int, int) - Constructor for class net.dontdrinkandroot.cache.impl.disk.indexed.LruBufferedSerializableIndexedDiskCache
 
LruBufferedSerializableIndexedDiskCache(String, long, long, File, int, int, int, int) - Constructor for class net.dontdrinkandroot.cache.impl.disk.indexed.LruBufferedSerializableIndexedDiskCache
 
LruCache<K,V> - Interface in net.dontdrinkandroot.cache
A Buffered Cache that uses a LruRecyclingExpungeStrategy.
LruComparator<K,M extends MetaData> - Class in net.dontdrinkandroot.cache.metadata.comparator.impl
Sorts items by ascending access time (older first), if the access time is equal the one with the lower count is picked.
LruComparator() - Constructor for class net.dontdrinkandroot.cache.metadata.comparator.impl.LruComparator
 
LruExpungeStrategy - Class in net.dontdrinkandroot.cache.expungestrategy.impl
 
LruExpungeStrategy(int) - Constructor for class net.dontdrinkandroot.cache.expungestrategy.impl.LruExpungeStrategy
 
LruRecyclingExpungeStrategy - Class in net.dontdrinkandroot.cache.expungestrategy.impl
 
LruRecyclingExpungeStrategy(int, float) - Constructor for class net.dontdrinkandroot.cache.expungestrategy.impl.LruRecyclingExpungeStrategy
 
LruRecyclingExpungeStrategy(int, int) - Constructor for class net.dontdrinkandroot.cache.expungestrategy.impl.LruRecyclingExpungeStrategy
 

M

maxSize - Variable in class net.dontdrinkandroot.cache.expungestrategy.impl.AbstractMaxSizeExpungeStrategy
 
Md5 - Class in net.dontdrinkandroot.cache.utils
 
Md5(String) - Constructor for class net.dontdrinkandroot.cache.utils.Md5
 
Md5(byte[]) - Constructor for class net.dontdrinkandroot.cache.utils.Md5
 
MD5_PATTERN - Static variable in class net.dontdrinkandroot.cache.impl.disk.file.FileCache
 
Md5Exception - Exception in net.dontdrinkandroot.cache.utils
 
Md5Exception(Throwable) - Constructor for exception net.dontdrinkandroot.cache.utils.Md5Exception
 
Md5Exception(String) - Constructor for exception net.dontdrinkandroot.cache.utils.Md5Exception
 
MemoryCache<K,V> - Class in net.dontdrinkandroot.cache.impl.memory
 
MemoryCache(String, long, ExpungeStrategy) - Constructor for class net.dontdrinkandroot.cache.impl.memory.MemoryCache
 
MemoryCache(String, long, long, ExpungeStrategy) - Constructor for class net.dontdrinkandroot.cache.impl.memory.MemoryCache
 
MetaData - Interface in net.dontdrinkandroot.cache.metadata
 
MetaDataComparator<K,M extends MetaData> - Interface in net.dontdrinkandroot.cache.metadata.comparator
 
MILLIS_PER_DAY - Static variable in class net.dontdrinkandroot.cache.utils.Duration
 
MILLIS_PER_HOUR - Static variable in class net.dontdrinkandroot.cache.utils.Duration
 
MILLIS_PER_MINUTE - Static variable in class net.dontdrinkandroot.cache.utils.Duration
 
MILLIS_PER_SECOND - Static variable in class net.dontdrinkandroot.cache.utils.Duration
 
minutes(int) - Static method in class net.dontdrinkandroot.cache.utils.Duration
 
MINUTES_PER_HOUR - Static variable in class net.dontdrinkandroot.cache.utils.Duration
 

N

net.dontdrinkandroot.cache - package net.dontdrinkandroot.cache
 
net.dontdrinkandroot.cache.expungestrategy - package net.dontdrinkandroot.cache.expungestrategy
 
net.dontdrinkandroot.cache.expungestrategy.impl - package net.dontdrinkandroot.cache.expungestrategy.impl
 
net.dontdrinkandroot.cache.impl - package net.dontdrinkandroot.cache.impl
 
net.dontdrinkandroot.cache.impl.disk.file - package net.dontdrinkandroot.cache.impl.disk.file
 
net.dontdrinkandroot.cache.impl.disk.indexed - package net.dontdrinkandroot.cache.impl.disk.indexed
 
net.dontdrinkandroot.cache.impl.disk.indexed.storage - package net.dontdrinkandroot.cache.impl.disk.indexed.storage
 
net.dontdrinkandroot.cache.impl.memory - package net.dontdrinkandroot.cache.impl.memory
 
net.dontdrinkandroot.cache.metadata - package net.dontdrinkandroot.cache.metadata
 
net.dontdrinkandroot.cache.metadata.comparator - package net.dontdrinkandroot.cache.metadata.comparator
 
net.dontdrinkandroot.cache.metadata.comparator.impl - package net.dontdrinkandroot.cache.metadata.comparator.impl
 
net.dontdrinkandroot.cache.metadata.impl - package net.dontdrinkandroot.cache.metadata.impl
 
net.dontdrinkandroot.cache.statistics - package net.dontdrinkandroot.cache.statistics
 
net.dontdrinkandroot.cache.statistics.impl - package net.dontdrinkandroot.cache.statistics.impl
 
net.dontdrinkandroot.cache.utils - package net.dontdrinkandroot.cache.utils
 
NoopCache<K,V> - Class in net.dontdrinkandroot.cache.impl.memory
A serializable cache that does not actually perform any caching operation.
NoopCache(String) - Constructor for class net.dontdrinkandroot.cache.impl.memory.NoopCache
 
NoopExpungeStrategy - Class in net.dontdrinkandroot.cache.expungestrategy.impl
ExpungeStrategy that never triggers and does not return any MetaData to expunge.
NoopExpungeStrategy() - Constructor for class net.dontdrinkandroot.cache.expungestrategy.impl.NoopExpungeStrategy
 

O

ObjectUtils - Class in net.dontdrinkandroot.cache.utils
Required Methods From Apache Commons Lang ObjectUtils.
ObjectUtils() - Constructor for class net.dontdrinkandroot.cache.utils.ObjectUtils
 
ONE_KB - Static variable in class net.dontdrinkandroot.cache.utils.FileUtils
 
ONE_MB - Static variable in class net.dontdrinkandroot.cache.utils.FileUtils
 
overlaps(DataBlock) - Method in class net.dontdrinkandroot.cache.impl.disk.indexed.storage.DataBlock
 

P

put(K, T) - Method in interface net.dontdrinkandroot.cache.Cache
Store an entry in the cache with the default time to live.
put(K, T, long) - Method in interface net.dontdrinkandroot.cache.CustomTtlCache
Store an entry in the cache with a specific time to live.
put(K, T, long, long) - Method in interface net.dontdrinkandroot.cache.CustomTtlCache
Store an entry in the cache with a specific time to live and max idle time.
put(K, T) - Method in class net.dontdrinkandroot.cache.impl.AbstractMapBackedCache
 
put(K, T, long) - Method in class net.dontdrinkandroot.cache.impl.AbstractMapBackedCustomTtlCache
 
put(K, T, long, long) - Method in class net.dontdrinkandroot.cache.impl.AbstractMapBackedCustomTtlCache
 
put(K, T) - Method in class net.dontdrinkandroot.cache.impl.memory.NoopCache
 
put(K, T, long) - Method in class net.dontdrinkandroot.cache.impl.memory.NoopCache
 
put(K, T, long, long) - Method in class net.dontdrinkandroot.cache.impl.memory.NoopCache
 
putWithErrors(K, T) - Method in interface net.dontdrinkandroot.cache.Cache
Store an entry in the cache with the default time to live.
putWithErrors(K, T, long) - Method in interface net.dontdrinkandroot.cache.CustomTtlCache
Store an entry in the cache with a specific time to live.
putWithErrors(K, T, long, long) - Method in interface net.dontdrinkandroot.cache.CustomTtlCache
Store an entry in the cache with a specific time to live and max idle time.
putWithErrors(K, T) - Method in class net.dontdrinkandroot.cache.impl.AbstractMapBackedCache
 
putWithErrors(K, T, long, long) - Method in class net.dontdrinkandroot.cache.impl.AbstractMapBackedCustomTtlCache
 
putWithErrors(K, T, long) - Method in class net.dontdrinkandroot.cache.impl.AbstractMapBackedCustomTtlCache
 
putWithErrors(K, T) - Method in class net.dontdrinkandroot.cache.impl.memory.NoopCache
 
putWithErrors(K, T, long) - Method in class net.dontdrinkandroot.cache.impl.memory.NoopCache
 
putWithErrors(K, T, long, long) - Method in class net.dontdrinkandroot.cache.impl.memory.NoopCache
 

R

randomAccessFile - Variable in class net.dontdrinkandroot.cache.impl.disk.indexed.storage.DataFile
 
read(DataBlock) - Method in class net.dontdrinkandroot.cache.impl.disk.indexed.storage.DataFile
 
read(RandomAccessFile, int) - Static method in class net.dontdrinkandroot.cache.impl.disk.indexed.storage.IndexData
 
readInitialMap() - Method in class net.dontdrinkandroot.cache.impl.disk.file.FileCache
 
reset() - Method in interface net.dontdrinkandroot.cache.statistics.CacheStatistics
Reset the statistics.
reset() - Method in class net.dontdrinkandroot.cache.statistics.impl.SimpleCacheStatistics
 
resetCount() - Method in class net.dontdrinkandroot.cache.metadata.impl.SimpleMetaData
 

S

seconds(int) - Static method in class net.dontdrinkandroot.cache.utils.Duration
 
SECONDS_PER_MINUTE - Static variable in class net.dontdrinkandroot.cache.utils.Duration
 
SerializableIndexedDiskCache - Class in net.dontdrinkandroot.cache.impl.disk.indexed
 
SerializableIndexedDiskCache(String, long, File) - Constructor for class net.dontdrinkandroot.cache.impl.disk.indexed.SerializableIndexedDiskCache
 
SerializableIndexedDiskCache(String, long, long, File) - Constructor for class net.dontdrinkandroot.cache.impl.disk.indexed.SerializableIndexedDiskCache
 
SerializableIndexedDiskCache(String, long, ExpungeStrategy, File) - Constructor for class net.dontdrinkandroot.cache.impl.disk.indexed.SerializableIndexedDiskCache
 
SerializableIndexedDiskCache(String, long, long, ExpungeStrategy, File) - Constructor for class net.dontdrinkandroot.cache.impl.disk.indexed.SerializableIndexedDiskCache
 
SerializationException - Exception in net.dontdrinkandroot.cache.utils
 
SerializationException(Throwable) - Constructor for exception net.dontdrinkandroot.cache.utils.SerializationException
 
serialize(Serializable) - Static method in class net.dontdrinkandroot.cache.utils.Serializer
 
serialize(Serializable, OutputStream) - Static method in class net.dontdrinkandroot.cache.utils.Serializer
 
Serializer - Class in net.dontdrinkandroot.cache.utils
Required Methods from Apache Commons Lang SerializationUtils.
Serializer() - Constructor for class net.dontdrinkandroot.cache.utils.Serializer
 
setBlockNum(int) - Method in class net.dontdrinkandroot.cache.impl.disk.indexed.storage.IndexData
 
setBufferMaxSize(int) - Method in class net.dontdrinkandroot.cache.impl.disk.indexed.LruBufferedSerializableIndexedDiskCache
 
setBufferMaxSize(int) - Method in interface net.dontdrinkandroot.cache.LruBufferedCache
 
setBufferRecycleSize(int) - Method in class net.dontdrinkandroot.cache.impl.disk.indexed.LruBufferedSerializableIndexedDiskCache
 
setBufferRecycleSize(int) - Method in interface net.dontdrinkandroot.cache.LruBufferedCache
 
setCacheHits(long) - Method in class net.dontdrinkandroot.cache.statistics.impl.SimpleCacheStatistics
 
setCacheMissesExpired(long) - Method in class net.dontdrinkandroot.cache.statistics.impl.SimpleCacheStatistics
 
setCacheMissesNotFound(long) - Method in class net.dontdrinkandroot.cache.statistics.impl.SimpleCacheStatistics
 
setCopyOnRead(boolean) - Method in class net.dontdrinkandroot.cache.impl.disk.indexed.BufferedSerializableIndexedDiskCache
Sets if a successful get should return a copy of the cache entry, so when manipulating the object no changes are persisted in the buffer.
setCopyOnRead(boolean) - Method in class net.dontdrinkandroot.cache.impl.memory.MemoryCache
 
setCopyOnWrite(boolean) - Method in class net.dontdrinkandroot.cache.impl.disk.indexed.BufferedSerializableIndexedDiskCache
Sets if a successful put should return a copy of the cache entry, so when manipulating the object no changes are persisted in the buffer.
setCopyOnWrite(boolean) - Method in class net.dontdrinkandroot.cache.impl.memory.MemoryCache
 
setCount(int) - Method in class net.dontdrinkandroot.cache.metadata.impl.SimpleMetaData
 
setCurrentSize(int) - Method in class net.dontdrinkandroot.cache.statistics.impl.SimpleCacheStatistics
 
setDefaultMaxIdleTime(long) - Method in class net.dontdrinkandroot.cache.impl.AbstractCache
 
setDefaultTtl(long) - Method in interface net.dontdrinkandroot.cache.Cache
Sets the default time to live for cache entries.
setDefaultTtl(long) - Method in class net.dontdrinkandroot.cache.impl.AbstractCache
 
setDefaultTtl(long) - Method in class net.dontdrinkandroot.cache.impl.memory.NoopCache
 
setEntriesMetaDataMap(Map<K, M>) - Method in class net.dontdrinkandroot.cache.impl.AbstractMapBackedCache
 
setExpungeStrategy(ExpungeStrategy) - Method in class net.dontdrinkandroot.cache.impl.AbstractMapBackedCache
 
setExpungeStrategy(ExpungeStrategy) - Method in class net.dontdrinkandroot.cache.impl.disk.indexed.LruBufferedSerializableIndexedDiskCache
 
setGetCount(long) - Method in class net.dontdrinkandroot.cache.statistics.impl.SimpleCacheStatistics
 
setLastAccess(long) - Method in class net.dontdrinkandroot.cache.metadata.impl.SimpleMetaData
 
setMaxSize(int) - Method in class net.dontdrinkandroot.cache.expungestrategy.impl.AbstractMaxSizeExpungeStrategy
Set the max size of this strategy.
setMaxSize(int) - Method in class net.dontdrinkandroot.cache.impl.disk.indexed.LruBufferedSerializableIndexedDiskCache
 
setMaxSize(int) - Method in interface net.dontdrinkandroot.cache.LruCache
 
setName(String) - Method in class net.dontdrinkandroot.cache.impl.memory.NoopCache
 
setPutCount(long) - Method in class net.dontdrinkandroot.cache.statistics.impl.SimpleCacheStatistics
 
setRecycleFactor(float) - Method in class net.dontdrinkandroot.cache.expungestrategy.impl.AbstractRecyclingExpungeStrategy
Set the recycle factor (a value between 0 and 1 that is the percentage of the max size to be used as the recycle size).
setRecycleSize(int) - Method in class net.dontdrinkandroot.cache.expungestrategy.impl.AbstractRecyclingExpungeStrategy
Set the recycle size.
setRecycleSize(int) - Method in class net.dontdrinkandroot.cache.impl.disk.indexed.LruBufferedSerializableIndexedDiskCache
 
setRecycleSize(int) - Method in interface net.dontdrinkandroot.cache.LruCache
 
SimpleCacheStatistics - Class in net.dontdrinkandroot.cache.statistics.impl
 
SimpleCacheStatistics() - Constructor for class net.dontdrinkandroot.cache.statistics.impl.SimpleCacheStatistics
 
SimpleMetaData - Class in net.dontdrinkandroot.cache.metadata.impl
 
SimpleMetaData(long) - Constructor for class net.dontdrinkandroot.cache.metadata.impl.SimpleMetaData
 
SimpleMetaData(long, long) - Constructor for class net.dontdrinkandroot.cache.metadata.impl.SimpleMetaData
 
SimpleMetaData(long, long, long) - Constructor for class net.dontdrinkandroot.cache.metadata.impl.SimpleMetaData
 

T

toString() - Method in class net.dontdrinkandroot.cache.impl.disk.indexed.storage.DataBlock
 
toString() - Method in class net.dontdrinkandroot.cache.statistics.impl.SimpleCacheStatistics
 
triggers(CacheStatistics) - Method in interface net.dontdrinkandroot.cache.expungestrategy.ExpungeStrategy
Checks if the strategy triggers based on the given statistics.
triggers(CacheStatistics) - Method in class net.dontdrinkandroot.cache.expungestrategy.impl.AbstractOneOverMaxSizeExpungeStrategy
 
triggers(CacheStatistics) - Method in class net.dontdrinkandroot.cache.expungestrategy.impl.AbstractRecyclingExpungeStrategy
 
triggers(CacheStatistics) - Method in class net.dontdrinkandroot.cache.expungestrategy.impl.ExpiredOnlyExpungeStrategy
 
triggers(CacheStatistics) - Method in class net.dontdrinkandroot.cache.expungestrategy.impl.NoopExpungeStrategy
 

U

UNLIMITED_IDLE_TIME - Static variable in interface net.dontdrinkandroot.cache.Cache
 
update() - Method in class net.dontdrinkandroot.cache.metadata.impl.BlockMetaData
 
update() - Method in class net.dontdrinkandroot.cache.metadata.impl.SimpleMetaData
 
update() - Method in interface net.dontdrinkandroot.cache.metadata.MetaData
Update the entry after a cache hit.
usedBlocks - Variable in class net.dontdrinkandroot.cache.impl.disk.indexed.storage.DataFile
Ordered set of used blocks

V

valueBlock - Variable in class net.dontdrinkandroot.cache.impl.disk.indexed.storage.IndexData
 

W

write(byte[]) - Method in class net.dontdrinkandroot.cache.impl.disk.indexed.storage.DataFile
 
write(RandomAccessFile, int) - Method in class net.dontdrinkandroot.cache.impl.disk.indexed.storage.IndexData
 
write(IndexData) - Method in class net.dontdrinkandroot.cache.impl.disk.indexed.storage.IndexFile
 
A B C D E F G H I K L M N O P R S T U V W 

Copyright © 2013 dontdrinkandroot. All Rights Reserved.