- 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
-
- getBufferSize() - Method in interface net.dontdrinkandroot.cache.BufferedRecyclingCache
-
- getBufferSize() - Method in class net.dontdrinkandroot.cache.impl.disk.indexed.BufferedSerializableIndexedDiskCache
-
- 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
-
- getCleanUpInterval() - Method in class net.dontdrinkandroot.cache.impl.AbstractMapBackedCache
-
- getCleanUpLogger() - Method in class net.dontdrinkandroot.cache.impl.AbstractCache
-
- getComparator() - Method in class net.dontdrinkandroot.cache.impl.AbstractMapBackedCache
-
- 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.
- getEntry(K) - Method in class net.dontdrinkandroot.cache.impl.AbstractMapBackedCache
-
- 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.
- 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.impl.AbstractMapBackedCache
-
- getMaxSize() - Method in interface net.dontdrinkandroot.cache.RecyclingCache
-
- 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.impl.AbstractMapBackedCache
-
- getRecycleSize() - Method in interface net.dontdrinkandroot.cache.RecyclingCache
-
- 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
-
- getTimeToLive() - Method in class net.dontdrinkandroot.cache.metadata.impl.BlockMetaData
-
- getTimeToLive() - Method in class net.dontdrinkandroot.cache.metadata.impl.SimpleMetaData
-
- getTimeToLive() - Method in interface net.dontdrinkandroot.cache.metadata.MetaData
-
Gets the time to live of this entry (in milliseconds).
- 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
-
- getWriteQueueLength() - Method in class net.dontdrinkandroot.cache.impl.disk.indexed.AbstractIndexedDiskCache
-
Get the length of the writer thread queue.
- GOLDEN_RATIO - Static variable in class net.dontdrinkandroot.cache.impl.disk.indexed.storage.IndexFile
-