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

A

AccessTimeObjectHolder<V> - Class in com.trivago.triava.tcache
Represents a Cache entry with associated metadata.
AccessTimeObjectHolder(V, CacheWriteMode) - Constructor for class com.trivago.triava.tcache.AccessTimeObjectHolder
Construct a holder.
AccessTimeObjectHolder(V, long, long, CacheWriteMode) - Constructor for class com.trivago.triava.tcache.AccessTimeObjectHolder
 
Action<K,V,W> - Class in com.trivago.triava.tcache.action
 
ActionContext<K,V> - Interface in com.trivago.triava.tcache.action
 
ActionRunner<K,V> - Class in com.trivago.triava.tcache.action
 
activateTimeSource() - Method in class com.trivago.triava.tcache.Cache
Returns the TimeSource for this Cache.
addCacheEntryListenerConfiguration(CacheEntryListenerConfiguration<K, V>) - Method in class com.trivago.triava.tcache.core.Builder
 
addCacheEntryListenerConfiguration(CacheEntryListenerConfiguration<K, V>) - Method in interface com.trivago.triava.tcache.core.TriavaCacheConfiguration
 
addNotificationListener(NotificationListener, NotificationFilter, Object) - Method in class com.trivago.triava.tcache.util.TCKMBeanServerBuilder.RIMBeanServerDelegate
 
afterEviction() - Method in class com.trivago.triava.tcache.eviction.ClockEviction
 
afterEviction() - Method in interface com.trivago.triava.tcache.eviction.EvictionInterface
Called each time after an eviction cycle has ended.
afterEviction() - Method in class com.trivago.triava.tcache.eviction.FreezingEvictor
Default implementation for EvictionInterface.afterEviction().
Alpha - Annotation Type in com.trivago.triava.annotations
Classes or methods marked with this Annotation indicate that this API is not stable, and may change any time, even within minor versions.
asProperties(TriavaCacheConfiguration.PropsType) - Method in class com.trivago.triava.tcache.core.Builder
Returns a representation of the Configuration as Properties.
asProperties(TriavaCacheConfiguration.PropsType) - Method in interface com.trivago.triava.tcache.core.TriavaCacheConfiguration
Returns a representation of the Configuration as Properties.

B

base() - Method in class com.trivago.triava.util.UnitComponent
Returns the base value, from the remainder less than the "kilo" value
basePrefix() - Method in class com.trivago.triava.util.UnitSystem
 
beforeEviction() - Method in interface com.trivago.triava.tcache.eviction.EvictionInterface
Called each time before an eviction cycle is being started.
beforeEviction() - Method in class com.trivago.triava.tcache.eviction.FreezingEvictor
Default implementation for EvictionInterface.beforeEviction().
Beta - Annotation Type in com.trivago.triava.annotations
Classes or methods marked with this Annotation indicate that this API is not stable, and may change with major versions.
build() - Method in class com.trivago.triava.tcache.core.Builder
Builds a Cache from the parameters that were set. evictionType defines the eviction policy.
build() - Method in class com.trivago.triava.tcache.core.InternalBuilder
 
Builder<K,V> - Class in com.trivago.triava.tcache.core
A Builder to create Cache instances.
Builder() - Constructor for class com.trivago.triava.tcache.core.Builder
Native Builder for creating Cache instances.
Builder(Configuration<K, V>) - Constructor for class com.trivago.triava.tcache.core.Builder
A Builder that is target for usage in JSR107 scenarios.
builder() - Method in class com.trivago.triava.tcache.TCacheFactory
Returns a Builder
ByteArray - Class in com.trivago.triava.tcache.storage
A data structure holding a byte array, and provides a ByteArray.hashCode based on the byte array content.
ByteArray(byte[]) - Constructor for class com.trivago.triava.tcache.storage.ByteArray
Creates a new ByteArray from the given bytes.

C

Cache<K,V> - Class in com.trivago.triava.tcache
A Cache that supports expiration based on expiration time and idle time.
Cache(TCacheFactory, Builder<K, V>) - Constructor for class com.trivago.triava.tcache.Cache
Construct a Cache, using the given configuration from the Builder.
Cache.CleanupThread - Class in com.trivago.triava.tcache
Thread that removes expired entries.
CacheEventManager<K,V> - Interface in com.trivago.triava.tcache.event
An interface for a manager that forwards the given events to the given listener.
CacheLimit<K,V> - Class in com.trivago.triava.tcache
A size limited Cache, that evicts elements asynchronously in the background.
CacheLimit(TCacheFactory, Builder<K, V>) - Constructor for class com.trivago.triava.tcache.CacheLimit
 
CacheLoader<K,V> - Class in com.trivago.triava.tcache.core
An abstract implementation of CacheLoader, that implements CacheLoader.loadAll(Iterable) in a trivial fashion by iterating all keys and sequentially calling CacheLoader.load(Object).
CacheLoader() - Constructor for class com.trivago.triava.tcache.core.CacheLoader
 
CacheSizeInfo - Class in com.trivago.triava.tcache.util
Data class which stores information of the cache size, namely number of elements and size in bytes.
CacheSizeInfo(String, int, long, int) - Constructor for class com.trivago.triava.tcache.util.CacheSizeInfo
 
CacheWriteMode - Enum in com.trivago.triava.tcache
Defines how entries are put in the cache.
cacheWriter() - Method in interface com.trivago.triava.tcache.action.ActionContext
 
cacheWriter() - Method in class com.trivago.triava.tcache.Cache
 
CacheWriterWrapper<K,V> - Class in com.trivago.triava.tcache.core
 
CacheWriterWrapper(CacheWriter<? super K, ? super V>, boolean) - Constructor for class com.trivago.triava.tcache.core.CacheWriterWrapper
 
calculateObjectSizeDeep(Object) - Method in interface com.trivago.triava.tcache.util.ObjectSizeCalculatorInterface
Calculates the deep memory footprint of obj in bytes, i.e. the memory taken by the object graph using obj as a starting node of that graph.
cancel() - Method in class com.trivago.triava.tcache.Cache.CleanupThread
Interrupts the Cache.CleanupThread and marks it for stopping
ChangeStatus - Enum in com.trivago.triava.tcache.util
 
clear() - Method in class com.trivago.triava.tcache.Cache
Removes all entries from the Cache without notifying Listeners
clear() - Method in class com.trivago.triava.tcache.statistics.LongAdderStatisticsCalculator
 
clear() - Method in class com.trivago.triava.tcache.statistics.NullStatisticsCalculator
 
clear() - Method in class com.trivago.triava.tcache.statistics.StandardStatisticsCalculator
Deprecated.
 
clear() - Method in interface com.trivago.triava.tcache.statistics.StatisticsCalculator
 
clear() - Method in class com.trivago.triava.tcache.statistics.TCacheStatisticsBean
 
clear() - Method in class com.trivago.triava.tcache.storage.ConcurrentKeyDeserMap
 
clear() - Method in class com.trivago.triava.tcache.TCacheJSR107
 
ClockEviction<K,V> - Class in com.trivago.triava.tcache.eviction
Clock eviction based on last access time.
close() - Method in class com.trivago.triava.tcache.action.Action
 
close() - Method in class com.trivago.triava.tcache.Cache
Closes the cache and removes it from the associated CacheManager.
close() - Method in class com.trivago.triava.tcache.core.TCacheProvider
 
close(ClassLoader) - Method in class com.trivago.triava.tcache.core.TCacheProvider
 
close(URI, ClassLoader) - Method in class com.trivago.triava.tcache.core.TCacheProvider
 
close() - Method in class com.trivago.triava.tcache.TCacheFactory
Closes the TCacheFactory.
close() - Method in class com.trivago.triava.tcache.TCacheJSR107
 
com.trivago.triava.annotations - package com.trivago.triava.annotations
 
com.trivago.triava.collections - package com.trivago.triava.collections
 
com.trivago.triava.logging - package com.trivago.triava.logging
 
com.trivago.triava.tcache - package com.trivago.triava.tcache
 
com.trivago.triava.tcache.action - package com.trivago.triava.tcache.action
 
com.trivago.triava.tcache.core - package com.trivago.triava.tcache.core
 
com.trivago.triava.tcache.event - package com.trivago.triava.tcache.event
 
com.trivago.triava.tcache.eviction - package com.trivago.triava.tcache.eviction
 
com.trivago.triava.tcache.expiry - package com.trivago.triava.tcache.expiry
 
com.trivago.triava.tcache.statistics - package com.trivago.triava.tcache.statistics
 
com.trivago.triava.tcache.storage - package com.trivago.triava.tcache.storage
 
com.trivago.triava.tcache.util - package com.trivago.triava.tcache.util
 
com.trivago.triava.time - package com.trivago.triava.time
 
com.trivago.triava.util - package com.trivago.triava.util
 
compareByFreezer(HolderFreezer<K, V>, HolderFreezer<K, V>, boolean) - Method in class com.trivago.triava.tcache.eviction.FreezingEvictor
Compare objects by their frozen value HolderFreezer.getFrozenValue().
ConcurrentKeyDeserMap<K,V> - Class in com.trivago.triava.tcache.storage
A concurrent Map that serializes and de-serializes keys.
ConcurrentKeyDeserMap(ConcurrentMap<ByteArray, V>, CacheWriteMode) - Constructor for class com.trivago.triava.tcache.storage.ConcurrentKeyDeserMap
 
configToString() - Method in class com.trivago.triava.tcache.Cache
 
configToString() - Method in class com.trivago.triava.tcache.CacheLimit
 
configuration() - Method in class com.trivago.triava.tcache.Cache
 
Constants - Class in com.trivago.triava.tcache.expiry
 
Constants() - Constructor for class com.trivago.triava.tcache.expiry.Constants
 
containsKey(K) - Method in class com.trivago.triava.tcache.Cache
Returns true if this Cache contains a mapping for the specified key.
containsKey(Object) - Method in class com.trivago.triava.tcache.storage.ConcurrentKeyDeserMap
 
containsKey(K) - Method in class com.trivago.triava.tcache.TCacheJSR107
 
containsValue(Object) - Method in class com.trivago.triava.tcache.storage.ConcurrentKeyDeserMap
 
createCache(String, C) - Method in class com.trivago.triava.tcache.TCacheFactory
 
created(CacheEntryCreatedListener<K, V>, TCacheEntryEventCollection<K, V>) - Method in interface com.trivago.triava.tcache.event.CacheEventManager
 
created(CacheEntryCreatedListener<K, V>, TCacheEntryEventCollection<K, V>) - Method in class com.trivago.triava.tcache.event.ListenerCacheEventManager
 
createMap(Builder<K, V>, double) - Method in interface com.trivago.triava.tcache.core.StorageBackend
Returns a ConcurrentMap conforming to the configuration specified in the builder.
createMap(Builder<K, V>, double) - Method in class com.trivago.triava.tcache.storage.HighscalelibNonBlockingHashMap
 
createMap(Builder<K, V>, double) - Method in class com.trivago.triava.tcache.storage.JavaConcurrentHashMap
 

D

delete(Object) - Method in class com.trivago.triava.tcache.core.CacheWriterWrapper
 
delete(Object) - Method in class com.trivago.triava.tcache.core.NopCacheWriter
 
DeleteAction<K,V,W> - Class in com.trivago.triava.tcache.action
 
DeleteAction(K) - Constructor for class com.trivago.triava.tcache.action.DeleteAction
 
deleteAll(Collection<?>) - Method in class com.trivago.triava.tcache.core.CacheWriterWrapper
 
deleteAll(Collection<?>) - Method in class com.trivago.triava.tcache.core.NopCacheWriter
 
DeleteOnValueAction<K,V,W> - Class in com.trivago.triava.tcache.action
 
DeleteOnValueAction(K, boolean) - Constructor for class com.trivago.triava.tcache.action.DeleteOnValueAction
 
deregisterCacheEntryListener(CacheEntryListenerConfiguration<K, V>) - Method in class com.trivago.triava.tcache.event.ListenerCollection
Deregisters a cache listener.
deregisterCacheEntryListener(CacheEntryListenerConfiguration<K, V>) - Method in class com.trivago.triava.tcache.TCacheJSR107
 
destroyCache(String) - Method in class com.trivago.triava.tcache.TCacheFactory
 
dispatchEvent(EventType, K, V) - Method in class com.trivago.triava.tcache.event.ListenerCollection
 
dispatchEvent(EventType, K, V, V) - Method in class com.trivago.triava.tcache.event.ListenerCollection
 
dispatchEvents(Map<K, V>, EventType, boolean) - Method in class com.trivago.triava.tcache.event.ListenerCollection
Notifies all listeners that a given EventType has happened for all the given entries.
DispatchMode - Enum in com.trivago.triava.tcache.event
 

E

effectiveHolder - Variable in class com.trivago.triava.tcache.core.Holders
 
elementsToRemove() - Method in class com.trivago.triava.tcache.CacheLimit
Determine how many elements to remove.
enableManagement(boolean) - Method in class com.trivago.triava.tcache.Cache
 
enableManagement(String, boolean) - Method in class com.trivago.triava.tcache.TCacheFactory
 
enableStatistics(boolean) - Method in class com.trivago.triava.tcache.Cache
Enables or disables statistics.
enableStatistics(String, boolean) - Method in class com.trivago.triava.tcache.TCacheFactory
 
ensureFreeCapacity() - Method in class com.trivago.triava.tcache.Cache
Returns whether there is capacity for at least one more element.
ensureFreeCapacity() - Method in class com.trivago.triava.tcache.CacheLimit
Frees entries, if the Cache is near full.
entrySet() - Method in class com.trivago.triava.tcache.storage.ConcurrentKeyDeserMap
Note that this method is quite inefficient.
equals(Object) - Method in class com.trivago.triava.tcache.core.Builder
 
equals(Object) - Method in interface com.trivago.triava.tcache.core.TriavaCacheConfiguration
 
equals(Object) - Method in class com.trivago.triava.tcache.storage.ByteArray
 
equals(Object) - Method in class com.trivago.triava.tcache.TCacheFactory
 
error(String) - Method in class com.trivago.triava.logging.TriavaConsoleLogger
 
error(String, Throwable) - Method in class com.trivago.triava.logging.TriavaConsoleLogger
 
error(String) - Method in interface com.trivago.triava.logging.TriavaLogger
 
error(String, Throwable) - Method in interface com.trivago.triava.logging.TriavaLogger
 
error(String) - Method in class com.trivago.triava.logging.TriavaNullLogger
 
error(String, Throwable) - Method in class com.trivago.triava.logging.TriavaNullLogger
 
EstimatorTimeSource - Class in com.trivago.triava.time
A TimeSource that provides the value of System.currentTimeMillis() in the given millisecond precision.
EstimatorTimeSource(int) - Constructor for class com.trivago.triava.time.EstimatorTimeSource
Creates a TimeSource with the given update interval, that uses the system time as TimeSource.
EstimatorTimeSource(TimeSource, int, TriavaLogger) - Constructor for class com.trivago.triava.time.EstimatorTimeSource
Creates a TimeSource with the given update interval.
events() - Method in class com.trivago.triava.tcache.event.TCacheEntryEventCollection
 
eventType() - Method in class com.trivago.triava.tcache.event.TCacheEntryEventCollection
 
evictionClass - Variable in class com.trivago.triava.tcache.CacheLimit
 
evictionComparator() - Method in interface com.trivago.triava.tcache.eviction.EvictionInterface
Returns the Comparator implementing the eviction policy.
evictionComparator() - Method in class com.trivago.triava.tcache.eviction.FreezingEvictor
Returns the standard comparator, which compares first the frozen values, and (on ties) uses the tiebreaker.
evictionConfigInfo() - Method in class com.trivago.triava.tcache.CacheLimit
 
evictionCount - Variable in class com.trivago.triava.tcache.CacheLimit
 
evictionExtraSpace(Builder<K, V>) - Method in class com.trivago.triava.tcache.Cache
Returns a size factor for the map for the specific eviction strategy of this Cache.
evictionExtraSpace(Builder<K, V>) - Method in class com.trivago.triava.tcache.CacheLimit
Calculates the amount of extra space that we need as eviction extra space in the storage Map.
EvictionInterface<K,V> - Interface in com.trivago.triava.tcache.eviction
Eviction interface, that can operate on 4 values: Meta data, key, value and a "frozen value".
EvictionPolicy - Enum in com.trivago.triava.tcache
 
exists() - Method in class com.trivago.triava.tcache.core.TCacheJSR107MutableEntry
 
expired(CacheEntryExpiredListener<K, V>, TCacheEntryEventCollection<K, V>) - Method in interface com.trivago.triava.tcache.event.CacheEventManager
 
expired(CacheEntryExpiredListener<K, V>, TCacheEntryEventCollection<K, V>) - Method in class com.trivago.triava.tcache.event.ListenerCacheEventManager
 
expireUntil(K, int, TimeUnit) - Method in class com.trivago.triava.tcache.Cache
Schedule the entry for the given key for expiration.
EXPIRY_MAX - Static variable in class com.trivago.triava.tcache.expiry.Constants
 
EXPIRY_NOCHANGE - Static variable in class com.trivago.triava.tcache.expiry.Constants
 
EXPIRY_ZERO - Static variable in class com.trivago.triava.tcache.expiry.Constants
 

F

fillCacheStatistics(TCacheStatisticsInterface) - Method in class com.trivago.triava.tcache.Cache
Fills the given cache statistics object.
fillCacheStatistics(TCacheStatisticsInterface) - Method in class com.trivago.triava.tcache.CacheLimit
 
formatAsUnit(long, UnitSystem, String) - Static method in class com.trivago.triava.util.UnitFormatter
Formats a value to human readable representation, using the given Unit System.
formatAsUnit(long, UnitSystem, String, DecimalFormat) - Static method in class com.trivago.triava.util.UnitFormatter
Formats a value to human readable representation, using the given Unit System.
formatAsUnits(long, UnitSystem, String, String) - Static method in class com.trivago.triava.util.UnitFormatter
Formats the value to human readable representation, using the given Unit System.
FreezingEvictor<K,V> - Class in com.trivago.triava.tcache.eviction
Convenience class that implements EvictionInterface.
FreezingEvictor() - Constructor for class com.trivago.triava.tcache.eviction.FreezingEvictor
 
fromBytearray(byte[]) - Static method in class com.trivago.triava.tcache.util.Serializing
 
fromInternalToMillis(int) - Static method in class com.trivago.triava.tcache.util.SecondsOrMillis
Converts internal value to millis
fromMillisToInternal(long) - Static method in class com.trivago.triava.tcache.util.SecondsOrMillis
Converts millis to internal value
fromStoreByValue(boolean) - Static method in enum com.trivago.triava.tcache.CacheWriteMode
Converts the JSR isStoreByValue to the corresponding CacheWriteMode.

G

gatedHolder(AccessTimeObjectHolder<V>) - Method in class com.trivago.triava.tcache.Cache
 
get(T) - Method in class com.trivago.triava.collections.HashInterner
 
get(T) - Method in interface com.trivago.triava.collections.Interner
Returns a shared instance for the given value.
get() - Method in class com.trivago.triava.tcache.AccessTimeObjectHolder
Returns the value, that this holder holds.
get(K) - Method in class com.trivago.triava.tcache.Cache
Gets cached object for the given key, or null if this Cache contains no mapping for the key.
get(Object) - Method in class com.trivago.triava.tcache.storage.ConcurrentKeyDeserMap
 
get() - Method in interface com.trivago.triava.tcache.TCacheHolder
Returns the value, that this holder holds.
get(K) - Method in class com.trivago.triava.tcache.TCacheJSR107
 
getAll(Set<? extends K>) - Method in class com.trivago.triava.tcache.TCacheJSR107
 
getAndPut(K, V) - Method in class com.trivago.triava.tcache.Cache
Add an object to the cache under the given key, using the default idle time and default cache time.
getAndPut(K, V) - Method in class com.trivago.triava.tcache.TCacheJSR107
 
GetAndPutAction<K,V,W> - Class in com.trivago.triava.tcache.action
An Action that has both Get and Put characteristics, like getAndPut(), and the 3-arg replace().
GetAndPutAction(K, V, EventType) - Constructor for class com.trivago.triava.tcache.action.GetAndPutAction
 
getAndRemove(K) - Method in class com.trivago.triava.tcache.TCacheJSR107
 
GetAndRemoveAction<K,V,W> - Class in com.trivago.triava.tcache.action
 
GetAndRemoveAction(K) - Constructor for class com.trivago.triava.tcache.action.GetAndRemoveAction
 
getAndReplace(K, V) - Method in class com.trivago.triava.tcache.Cache
Replace the entry stored by key with the given value.
getAndReplace(K, V) - Method in class com.trivago.triava.tcache.TCacheJSR107
 
getAverageGetTime() - Method in class com.trivago.triava.tcache.statistics.TCacheStatisticsBean
 
getAveragePutTime() - Method in class com.trivago.triava.tcache.statistics.TCacheStatisticsBean
 
getAverageRemoveTime() - Method in class com.trivago.triava.tcache.statistics.TCacheStatisticsBean
 
getCache(String, Class<K>, Class<V>) - Method in class com.trivago.triava.tcache.TCacheFactory
 
getCache(String) - Method in class com.trivago.triava.tcache.TCacheFactory
 
getCacheConfigMBean() - Method in class com.trivago.triava.tcache.TCacheJSR107
 
getCacheEntryListenerConfigurations() - Method in class com.trivago.triava.tcache.core.Builder
 
getCacheEntryListenerConfigurations() - Method in interface com.trivago.triava.tcache.core.TriavaCacheConfiguration
 
getCacheEvictions() - Method in class com.trivago.triava.tcache.statistics.TCacheStatisticsBean
Implementation note: Evictions in TCache are "evictions + drops".
getCacheGets() - Method in class com.trivago.triava.tcache.statistics.TCacheStatisticsBean
 
getCacheHitPercentage() - Method in class com.trivago.triava.tcache.statistics.TCacheStatisticsBean
 
getCacheHitrate() - Method in class com.trivago.triava.tcache.Cache
Returns the Cache hit rate.
getCacheHits() - Method in class com.trivago.triava.tcache.statistics.TCacheStatisticsBean
 
getCacheLoaderFactory() - Method in class com.trivago.triava.tcache.core.Builder
 
getCacheLoaderFactory() - Method in interface com.trivago.triava.tcache.core.TriavaCacheConfiguration
 
getCacheManager() - Method in class com.trivago.triava.tcache.core.TCacheProvider
 
getCacheManager(URI, ClassLoader) - Method in class com.trivago.triava.tcache.core.TCacheProvider
 
getCacheManager(URI, ClassLoader, Properties) - Method in class com.trivago.triava.tcache.core.TCacheProvider
 
getCacheManager() - Method in class com.trivago.triava.tcache.TCacheJSR107
 
getCacheMisses() - Method in class com.trivago.triava.tcache.statistics.TCacheStatisticsBean
 
getCacheMissPercentage() - Method in class com.trivago.triava.tcache.statistics.TCacheStatisticsBean
 
getCacheNames() - Method in class com.trivago.triava.tcache.TCacheFactory
 
getCachePuts() - Method in class com.trivago.triava.tcache.statistics.TCacheStatisticsBean
 
getCacheRemovals() - Method in class com.trivago.triava.tcache.statistics.TCacheStatisticsBean
 
getCacheStatisticsMBean() - Method in class com.trivago.triava.tcache.TCacheJSR107
 
getCacheWriteMode() - Method in class com.trivago.triava.tcache.core.Builder
 
getCacheWriteMode() - Method in interface com.trivago.triava.tcache.core.TriavaCacheConfiguration
 
getCacheWriterFactory() - Method in class com.trivago.triava.tcache.core.Builder
 
getCacheWriterFactory() - Method in interface com.trivago.triava.tcache.core.TriavaCacheConfiguration
 
getCachingProvider() - Method in class com.trivago.triava.tcache.TCacheFactory
 
getClassLoader() - Method in class com.trivago.triava.tcache.TCacheFactory
 
getCleanUpIntervalMillis() - Method in class com.trivago.triava.tcache.core.Builder
Returns the proposed cleanup interval in ms.
getCleanUpIntervalMillis() - Method in interface com.trivago.triava.tcache.core.TriavaCacheConfiguration
Returns the proposed cleanup interval in ms.
getConcurrencyLevel() - Method in class com.trivago.triava.tcache.core.Builder
 
getConcurrencyLevel() - Method in interface com.trivago.triava.tcache.core.TriavaCacheConfiguration
 
getConfiguration(Class<C>) - Method in class com.trivago.triava.tcache.TCacheJSR107
 
getCopyOfSlots() - Method in class com.trivago.triava.tcache.statistics.SlidingWindowCounter
 
getCreationTime() - Method in class com.trivago.triava.tcache.AccessTimeObjectHolder
 
getCreationTime() - Method in interface com.trivago.triava.tcache.TCacheHolder
Returns the creation time of this holder, given in ms since EPOCH.
getDefaultClassLoader() - Method in class com.trivago.triava.tcache.core.TCacheProvider
 
getDefaultProperties() - Method in class com.trivago.triava.tcache.core.TCacheProvider
 
getDefaultURI() - Method in class com.trivago.triava.tcache.core.TCacheProvider
 
getDropCount() - Method in class com.trivago.triava.tcache.statistics.LongAdderStatisticsCalculator
 
getDropCount() - Method in class com.trivago.triava.tcache.statistics.NullStatisticsCalculator
 
getDropCount() - Method in class com.trivago.triava.tcache.statistics.StandardStatisticsCalculator
Deprecated.
 
getDropCount() - Method in interface com.trivago.triava.tcache.statistics.StatisticsCalculator
 
getDropCount() - Method in class com.trivago.triava.tcache.statistics.TCacheStatistics
 
getElementCount() - Method in class com.trivago.triava.tcache.statistics.TCacheStatistics
 
getElemsAfter() - Method in class com.trivago.triava.tcache.util.CacheSizeInfo
 
getElemsBefore() - Method in class com.trivago.triava.tcache.util.CacheSizeInfo
 
getEvictionClass() - Method in class com.trivago.triava.tcache.core.Builder
 
getEvictionClass() - Method in interface com.trivago.triava.tcache.core.TriavaCacheConfiguration
 
getEvictionCount() - Method in class com.trivago.triava.tcache.statistics.TCacheStatistics
 
getEvictionHalts() - Method in class com.trivago.triava.tcache.statistics.TCacheStatistics
 
getEvictionPolicy() - Method in class com.trivago.triava.tcache.core.Builder
 
getEvictionPolicy() - Method in interface com.trivago.triava.tcache.core.TriavaCacheConfiguration
 
getEvictionRate() - Method in class com.trivago.triava.tcache.statistics.TCacheStatistics
 
getEvictionRounds() - Method in class com.trivago.triava.tcache.statistics.TCacheStatistics
 
getExpirationTime() - Method in class com.trivago.triava.tcache.AccessTimeObjectHolder
 
getExpirationTime() - Method in interface com.trivago.triava.tcache.TCacheHolder
Returns the expiration time, given in ms since EPOCH.
getExpiryForAccess() - Method in interface com.trivago.triava.tcache.expiry.TCacheExpiryPolicy
 
getExpiryForAccess() - Method in class com.trivago.triava.tcache.expiry.TouchedExpiryPolicy
 
getExpiryForAccess() - Method in class com.trivago.triava.tcache.expiry.UntouchedExpiryPolicy
 
getExpiryForCreation() - Method in interface com.trivago.triava.tcache.expiry.TCacheExpiryPolicy
 
getExpiryForCreation() - Method in class com.trivago.triava.tcache.expiry.TouchedExpiryPolicy
 
getExpiryForCreation() - Method in class com.trivago.triava.tcache.expiry.UntouchedExpiryPolicy
 
getExpiryForUpdate() - Method in interface com.trivago.triava.tcache.expiry.TCacheExpiryPolicy
 
getExpiryForUpdate() - Method in class com.trivago.triava.tcache.expiry.TouchedExpiryPolicy
 
getExpiryForUpdate() - Method in class com.trivago.triava.tcache.expiry.UntouchedExpiryPolicy
 
getExpiryPolicyFactory() - Method in class com.trivago.triava.tcache.core.Builder
 
getExpiryPolicyFactory() - Method in interface com.trivago.triava.tcache.core.TriavaCacheConfiguration
 
getFreezeValue(K, TCacheHolder<V>) - Method in class com.trivago.triava.tcache.eviction.ClockEviction
 
getFreezeValue(K, TCacheHolder<V>) - Method in interface com.trivago.triava.tcache.eviction.EvictionInterface
Returns a value that is required by the actual implementation for eviction.
getFreezeValue(K, TCacheHolder<V>) - Method in class com.trivago.triava.tcache.eviction.FreezingEvictor
Returns a value for the given key, that may be used by the concrete implementation of the #evictionComparator().
getFreezeValue(K, TCacheHolder<V>) - Method in class com.trivago.triava.tcache.eviction.LFUEviction
 
getFreezeValue(K, TCacheHolder<V>) - Method in class com.trivago.triava.tcache.eviction.LRUEviction
 
getFrozenValue() - Method in class com.trivago.triava.tcache.eviction.HolderFreezer
 
getHashImplementation() - Method in class com.trivago.triava.tcache.core.Builder
 
getHashImplementation() - Method in interface com.trivago.triava.tcache.core.TriavaCacheConfiguration
 
getHitCount() - Method in class com.trivago.triava.tcache.statistics.LongAdderStatisticsCalculator
 
getHitCount() - Method in class com.trivago.triava.tcache.statistics.NullStatisticsCalculator
 
getHitCount() - Method in class com.trivago.triava.tcache.statistics.StandardStatisticsCalculator
Deprecated.
 
getHitCount() - Method in interface com.trivago.triava.tcache.statistics.StatisticsCalculator
 
getHitCount() - Method in class com.trivago.triava.tcache.statistics.TCacheStatistics
 
getHitRatio() - Method in class com.trivago.triava.tcache.statistics.TCacheStatistics
 
getHits() - Method in class com.trivago.triava.tcache.statistics.HitAndMissDifference
 
getHolder() - Method in class com.trivago.triava.tcache.eviction.HolderFreezer
 
getId() - Method in class com.trivago.triava.tcache.core.Builder
 
getId() - Method in interface com.trivago.triava.tcache.core.TriavaCacheConfiguration
 
getId() - Method in class com.trivago.triava.tcache.statistics.TCacheStatistics
 
getId() - Method in class com.trivago.triava.tcache.util.CacheSizeInfo
 
getImplementationName() - Method in class com.trivago.triava.tcache.util.TCKMBeanServerBuilder.RIMBeanServerDelegate
 
getImplementationVendor() - Method in class com.trivago.triava.tcache.util.TCKMBeanServerBuilder.RIMBeanServerDelegate
 
getImplementationVersion() - Method in class com.trivago.triava.tcache.util.TCKMBeanServerBuilder.RIMBeanServerDelegate
 
getJamPolicy() - Method in class com.trivago.triava.tcache.core.Builder
 
getJamPolicy() - Method in interface com.trivago.triava.tcache.core.TriavaCacheConfiguration
 
getKey() - Method in class com.trivago.triava.tcache.core.TCacheJSR107Entry
 
getKey() - Method in class com.trivago.triava.tcache.event.TCacheEntryEvent
 
getKey() - Method in class com.trivago.triava.tcache.eviction.HolderFreezer
 
getKeyType() - Method in class com.trivago.triava.tcache.core.Builder
 
getKeyType() - Method in class com.trivago.triava.tcache.core.TCacheConfigurationBean
 
getKeyType() - Method in interface com.trivago.triava.tcache.core.TriavaCacheConfiguration
 
getLastAccessTime() - Method in class com.trivago.triava.tcache.AccessTimeObjectHolder
 
getLastAccessTime() - Method in interface com.trivago.triava.tcache.TCacheHolder
Returns the last access time, given in MILLISECONDS since EPOCH
getLoader() - Method in class com.trivago.triava.tcache.core.Builder
 
getLoader() - Method in interface com.trivago.triava.tcache.core.TriavaCacheConfiguration
 
getMapConcurrencyLevel() - Method in class com.trivago.triava.tcache.core.Builder
 
getMapConcurrencyLevel() - Method in interface com.trivago.triava.tcache.core.TriavaCacheConfiguration
 
getMaxCacheTime() - Method in class com.trivago.triava.tcache.core.Builder
 
getMaxCacheTime() - Method in interface com.trivago.triava.tcache.core.TriavaCacheConfiguration
 
getMaxCacheTimeSpread() - Method in class com.trivago.triava.tcache.core.Builder
 
getMaxCacheTimeSpread() - Method in interface com.trivago.triava.tcache.core.TriavaCacheConfiguration
 
getMaxElements() - Method in class com.trivago.triava.tcache.core.Builder
 
getMaxElements() - Method in interface com.trivago.triava.tcache.core.TriavaCacheConfiguration
 
getMaxIdleTime() - Method in class com.trivago.triava.tcache.core.Builder
 
getMaxIdleTime() - Method in interface com.trivago.triava.tcache.core.TriavaCacheConfiguration
 
getMBean(TCacheJSR107<?, ?>) - Method in class com.trivago.triava.tcache.statistics.TCacheStatisticsMBean
 
getMBean(TCacheJSR107<?, ?>) - Method in class com.trivago.triava.tcache.util.TCacheConfigurationMBean
 
getMBean(TCacheJSR107<?, ?>) - Method in class com.trivago.triava.tcache.util.TCacheMBean
 
getMBeanServerId() - Method in class com.trivago.triava.tcache.util.TCKMBeanServerBuilder.RIMBeanServerDelegate
 
getMissCount() - Method in class com.trivago.triava.tcache.statistics.LongAdderStatisticsCalculator
 
getMissCount() - Method in class com.trivago.triava.tcache.statistics.NullStatisticsCalculator
 
getMissCount() - Method in class com.trivago.triava.tcache.statistics.StandardStatisticsCalculator
Deprecated.
 
getMissCount() - Method in interface com.trivago.triava.tcache.statistics.StatisticsCalculator
 
getMissCount() - Method in class com.trivago.triava.tcache.statistics.TCacheStatistics
 
getMisses() - Method in class com.trivago.triava.tcache.statistics.HitAndMissDifference
 
getName() - Method in class com.trivago.triava.tcache.TCacheJSR107
 
getNotificationInfo() - Method in class com.trivago.triava.tcache.util.TCKMBeanServerBuilder.RIMBeanServerDelegate
 
getOldValue() - Method in class com.trivago.triava.tcache.event.TCacheEntryEvent
 
getProperties() - Method in class com.trivago.triava.tcache.TCacheFactory
 
getPutCount() - Method in class com.trivago.triava.tcache.statistics.LongAdderStatisticsCalculator
 
getPutCount() - Method in class com.trivago.triava.tcache.statistics.NullStatisticsCalculator
 
getPutCount() - Method in class com.trivago.triava.tcache.statistics.StandardStatisticsCalculator
Deprecated.
 
getPutCount() - Method in interface com.trivago.triava.tcache.statistics.StatisticsCalculator
 
getPutCount() - Method in class com.trivago.triava.tcache.statistics.TCacheStatistics
 
getRateTotal(long) - Method in class com.trivago.triava.tcache.statistics.SlidingWindowCounter
 
getRateTotal() - Method in class com.trivago.triava.tcache.statistics.SlidingWindowCounter
 
getRemoveCount() - Method in class com.trivago.triava.tcache.statistics.LongAdderStatisticsCalculator
 
getRemoveCount() - Method in class com.trivago.triava.tcache.statistics.NullStatisticsCalculator
 
getRemoveCount() - Method in class com.trivago.triava.tcache.statistics.StandardStatisticsCalculator
Deprecated.
 
getRemoveCount() - Method in interface com.trivago.triava.tcache.statistics.StatisticsCalculator
 
getRemoveCount() - Method in class com.trivago.triava.tcache.statistics.TCacheStatistics
 
getSize() - Method in class com.trivago.triava.tcache.statistics.TCacheStatisticsBean
 
getSize() - Method in interface com.trivago.triava.tcache.statistics.TCacheStatisticsMXBean
 
getSizeInByte() - Method in class com.trivago.triava.tcache.util.CacheSizeInfo
 
getSpecificationName() - Method in class com.trivago.triava.tcache.util.TCKMBeanServerBuilder.RIMBeanServerDelegate
 
getSpecificationVendor() - Method in class com.trivago.triava.tcache.util.TCKMBeanServerBuilder.RIMBeanServerDelegate
 
getSpecificationVersion() - Method in class com.trivago.triava.tcache.util.TCKMBeanServerBuilder.RIMBeanServerDelegate
 
getStatistics() - Method in class com.trivago.triava.tcache.core.Builder
 
getStatistics() - Method in interface com.trivago.triava.tcache.core.TriavaCacheConfiguration
Returns whether statistics are enabled
getTCache(String) - Method in class com.trivago.triava.tcache.TCacheFactory
 
getTiebreaker() - Method in class com.trivago.triava.tcache.eviction.HolderFreezer
 
getURI() - Method in class com.trivago.triava.tcache.TCacheFactory
 
getUseCount() - Method in class com.trivago.triava.tcache.AccessTimeObjectHolder
 
getUseCount() - Method in interface com.trivago.triava.tcache.TCacheHolder
Returns the number of times this holder was accessed.
getValue() - Method in class com.trivago.triava.tcache.core.TCacheJSR107Entry
 
getValue() - Method in class com.trivago.triava.tcache.core.TCacheJSR107MutableEntry
 
getValue() - Method in class com.trivago.triava.tcache.event.TCacheEntryEvent
 
getValueType() - Method in class com.trivago.triava.tcache.core.Builder
 
getValueType() - Method in class com.trivago.triava.tcache.core.TCacheConfigurationBean
 
getValueType() - Method in interface com.trivago.triava.tcache.core.TriavaCacheConfiguration
 
giga() - Method in class com.trivago.triava.util.UnitComponent
Returns the full giga value.
gigaPrefix() - Method in class com.trivago.triava.util.UnitSystem
 

H

hashCode() - Method in class com.trivago.triava.tcache.core.Builder
 
hashCode() - Method in interface com.trivago.triava.tcache.core.TriavaCacheConfiguration
 
hashCode() - Method in class com.trivago.triava.tcache.storage.ByteArray
 
hashCode() - Method in class com.trivago.triava.tcache.TCacheFactory
 
HashImplementation - Enum in com.trivago.triava.tcache
 
HashInterner<T> - Class in com.trivago.triava.collections
Hash based implementation of Interner.
HashInterner() - Constructor for class com.trivago.triava.collections.HashInterner
Creates an Interner with 100 expected elements as sizing hint for the underlying Map.
HashInterner(int) - Constructor for class com.trivago.triava.collections.HashInterner
Creates an Interner with expectedElements as sizing hint for the underlying Map.
hasListenerFor(EventType) - Method in class com.trivago.triava.tcache.event.ListenerCollection
Checks whether this ListenerCollection includes at least one Listener for the given EventType.
hasNext() - Method in class com.trivago.triava.tcache.core.TCacheEntryIterator
 
hasNext() - Method in class com.trivago.triava.tcache.core.TCacheHolderIterator
 
HighscalelibNonBlockingHashMap<K,V> - Class in com.trivago.triava.tcache.storage
Implements a storage that uses the Highscale libs.
HighscalelibNonBlockingHashMap() - Constructor for class com.trivago.triava.tcache.storage.HighscalelibNonBlockingHashMap
 
HitAndMissDifference - Class in com.trivago.triava.tcache.statistics
Holds a count of cache hits and cache misses.
HolderFreezer<K,V> - Class in com.trivago.triava.tcache.eviction
Freezes all statistics that may change
HolderFreezer(K, TCacheHolder<V>, long) - Constructor for class com.trivago.triava.tcache.eviction.HolderFreezer
 
Holders<V> - Class in com.trivago.triava.tcache.core
 
Holders(AccessTimeObjectHolder<V>, AccessTimeObjectHolder<V>, AccessTimeObjectHolder<V>) - Constructor for class com.trivago.triava.tcache.core.Holders
 

I

id() - Method in class com.trivago.triava.tcache.Cache
 
IEC - Static variable in class com.trivago.triava.util.UnitSystem
IEC base 2 units (Ki) and names (kibi), using 1024 as a base
incrementDropCount() - Method in class com.trivago.triava.tcache.statistics.LongAdderStatisticsCalculator
 
incrementDropCount() - Method in class com.trivago.triava.tcache.statistics.NullStatisticsCalculator
 
incrementDropCount() - Method in class com.trivago.triava.tcache.statistics.StandardStatisticsCalculator
Deprecated.
 
incrementDropCount() - Method in interface com.trivago.triava.tcache.statistics.StatisticsCalculator
 
incrementHitCount() - Method in class com.trivago.triava.tcache.statistics.LongAdderStatisticsCalculator
 
incrementHitCount() - Method in class com.trivago.triava.tcache.statistics.NullStatisticsCalculator
 
incrementHitCount() - Method in class com.trivago.triava.tcache.statistics.StandardStatisticsCalculator
Deprecated.
 
incrementHitCount() - Method in interface com.trivago.triava.tcache.statistics.StatisticsCalculator
 
incrementMissCount() - Method in class com.trivago.triava.tcache.statistics.LongAdderStatisticsCalculator
 
incrementMissCount() - Method in class com.trivago.triava.tcache.statistics.NullStatisticsCalculator
 
incrementMissCount() - Method in class com.trivago.triava.tcache.statistics.StandardStatisticsCalculator
Deprecated.
 
incrementMissCount() - Method in interface com.trivago.triava.tcache.statistics.StatisticsCalculator
 
incrementPutCount() - Method in class com.trivago.triava.tcache.statistics.LongAdderStatisticsCalculator
 
incrementPutCount() - Method in class com.trivago.triava.tcache.statistics.NullStatisticsCalculator
 
incrementPutCount() - Method in class com.trivago.triava.tcache.statistics.StandardStatisticsCalculator
Deprecated.
 
incrementPutCount() - Method in interface com.trivago.triava.tcache.statistics.StatisticsCalculator
 
incrementRemoveCount() - Method in class com.trivago.triava.tcache.statistics.LongAdderStatisticsCalculator
 
incrementRemoveCount(int) - Method in class com.trivago.triava.tcache.statistics.LongAdderStatisticsCalculator
 
incrementRemoveCount() - Method in class com.trivago.triava.tcache.statistics.NullStatisticsCalculator
 
incrementRemoveCount(int) - Method in class com.trivago.triava.tcache.statistics.NullStatisticsCalculator
 
incrementRemoveCount() - Method in class com.trivago.triava.tcache.statistics.StandardStatisticsCalculator
Deprecated.
 
incrementRemoveCount(int) - Method in class com.trivago.triava.tcache.statistics.StandardStatisticsCalculator
Deprecated.
 
incrementRemoveCount() - Method in interface com.trivago.triava.tcache.statistics.StatisticsCalculator
 
incrementRemoveCount(int) - Method in interface com.trivago.triava.tcache.statistics.StatisticsCalculator
 
incrementUseCount() - Method in class com.trivago.triava.tcache.AccessTimeObjectHolder
 
info(String) - Method in class com.trivago.triava.logging.TriavaConsoleLogger
 
info(String) - Method in interface com.trivago.triava.logging.TriavaLogger
 
info(String) - Method in class com.trivago.triava.logging.TriavaNullLogger
 
InjectionSafe - Annotation Type in com.trivago.triava.annotations
Documents how a field or method is made Injection safe.
InjectionSafe.Reason - Enum in com.trivago.triava.annotations
 
InjectionUnsafe - Annotation Type in com.trivago.triava.annotations
Documents why a field or method is or might be Injection unsafe.
InjectionUnsafe.Exploitability - Enum in com.trivago.triava.annotations
The likelyhood of a successful attack
InjectionUnsafe.Risk - Enum in com.trivago.triava.annotations
The risk, if an attack would succeed
InjectionUnsafe.UnsafeReason - Enum in com.trivago.triava.annotations
 
instance() - Static method in class com.trivago.triava.tcache.statistics.TCacheStatisticsMBean
 
instance() - Static method in class com.trivago.triava.tcache.util.TCacheConfigurationMBean
 
instances() - Method in class com.trivago.triava.tcache.TCacheFactory
Returns the list of Caches that have been registered via TCacheFactory.registerCache(Cache).
InternalBuilder<K,V> - Class in com.trivago.triava.tcache.core
A Builder that additionally stores the TCacheFactory.
InternalBuilder(TCacheFactory) - Constructor for class com.trivago.triava.tcache.core.InternalBuilder
 
InternalBuilder(TCacheFactory, Configuration<K, V>) - Constructor for class com.trivago.triava.tcache.core.InternalBuilder
 
Interner<T> - Interface in com.trivago.triava.collections
Interface for interning objects, similar to String.intern() but generic and multi-instance capable.
invoke(K, EntryProcessor<K, V, T>, Object...) - Method in class com.trivago.triava.tcache.TCacheJSR107
 
invokeAll(Set<? extends K>, EntryProcessor<K, V, T>, Object...) - Method in class com.trivago.triava.tcache.TCacheJSR107
 
isAsync() - Method in enum com.trivago.triava.tcache.event.DispatchMode
 
isClosed() - Method in class com.trivago.triava.tcache.Cache
 
isClosed() - Method in class com.trivago.triava.tcache.TCacheFactory
 
isClosed() - Method in class com.trivago.triava.tcache.TCacheJSR107
 
isEmpty() - Method in class com.trivago.triava.tcache.storage.ConcurrentKeyDeserMap
 
isFull() - Method in class com.trivago.triava.tcache.CacheLimit
Returns whether the Cache is full.
isInvalid() - Method in class com.trivago.triava.tcache.AccessTimeObjectHolder
 
isInvalid() - Method in interface com.trivago.triava.tcache.TCacheHolder
Returns whether this holder is valid.
isManagementEnabled() - Method in class com.trivago.triava.tcache.Cache
 
isManagementEnabled() - Method in class com.trivago.triava.tcache.core.Builder
 
isManagementEnabled() - Method in class com.trivago.triava.tcache.core.TCacheConfigurationBean
 
isManagementEnabled() - Method in interface com.trivago.triava.tcache.core.TriavaCacheConfiguration
 
isOldValueAvailable() - Method in class com.trivago.triava.tcache.event.TCacheEntryEvent
 
isOverfull() - Method in class com.trivago.triava.tcache.CacheLimit
Returns whether the cache is overfull.
isReadThrough() - Method in class com.trivago.triava.tcache.core.Builder
 
isReadThrough() - Method in class com.trivago.triava.tcache.core.TCacheConfigurationBean
 
isReadThrough() - Method in interface com.trivago.triava.tcache.core.TriavaCacheConfiguration
 
isStatisticsEnabled() - Method in class com.trivago.triava.tcache.Cache
 
isStatisticsEnabled() - Method in class com.trivago.triava.tcache.core.Builder
 
isStatisticsEnabled() - Method in class com.trivago.triava.tcache.core.TCacheConfigurationBean
 
isStatisticsEnabled() - Method in interface com.trivago.triava.tcache.core.TriavaCacheConfiguration
 
isStoreByValue() - Method in enum com.trivago.triava.tcache.CacheWriteMode
Returns whether this CacheWriteMode is using store-by-value as defined by JSR107.
isStoreByValue() - Method in class com.trivago.triava.tcache.core.Builder
 
isStoreByValue() - Method in class com.trivago.triava.tcache.core.TCacheConfigurationBean
 
isStoreByValue() - Method in interface com.trivago.triava.tcache.core.TriavaCacheConfiguration
 
isStrictJSR107() - Method in class com.trivago.triava.tcache.core.Builder
Returns whether the Cache behaves strictly JSR107 compliant
isStrictJSR107() - Method in interface com.trivago.triava.tcache.core.TriavaCacheConfiguration
Returns whether the Cache behaves strictly JSR107 compliant
isSupported(OptionalFeature) - Method in class com.trivago.triava.tcache.core.TCacheProvider
 
isValid(AccessTimeObjectHolder<?>) - Static method in class com.trivago.triava.tcache.AccessTimeObjectHolder
Returns whether the holder is valid.
isWriteThrough() - Method in class com.trivago.triava.tcache.core.Builder
 
isWriteThrough() - Method in class com.trivago.triava.tcache.core.TCacheConfigurationBean
 
isWriteThrough() - Method in interface com.trivago.triava.tcache.core.TriavaCacheConfiguration
 
iterator() - Method in class com.trivago.triava.tcache.Cache
Returns an Iterator which can be used to traverse all entries of the Cache.
iterator() - Method in class com.trivago.triava.tcache.TCacheJSR107
 
iteratorWithTouch() - Method in class com.trivago.triava.tcache.Cache
Returns an Iterator which can be used to traverse all entries of the Cache.

J

jamPolicy - Variable in class com.trivago.triava.tcache.Cache
 
JamPolicy - Enum in com.trivago.triava.tcache
The JamPolicy defines behavior when there is a jam in the cache.
JavaConcurrentHashMap<K,V> - Class in com.trivago.triava.tcache.storage
Implements a storage that uses Java's ConcurrentHashMap.
JavaConcurrentHashMap() - Constructor for class com.trivago.triava.tcache.storage.JavaConcurrentHashMap
 
JEDEC - Static variable in class com.trivago.triava.util.UnitSystem
JEDEC units (K) and names (kilo), using 1024 as a base.
joinSimple(Thread, long, int) - Method in class com.trivago.triava.tcache.Cache
Waits at most millis milliseconds plus nanos nanoseconds for the given thread to die.
jsr107cache() - Method in class com.trivago.triava.tcache.Cache
Returns a JSR107 compliant view on this Cache.

K

keySet() - Method in class com.trivago.triava.tcache.Cache
Returns a thread-safe unmodifiable collection of the keys.
keySet() - Method in class com.trivago.triava.tcache.storage.ConcurrentKeyDeserMap
 
KeyValueUtil<K,V> - Class in com.trivago.triava.tcache.util
Perform check operations on cache keys and values.
KeyValueUtil(String) - Constructor for class com.trivago.triava.tcache.util.KeyValueUtil
Creates a typed KeyValueUtil for the given Cache.
kilo() - Method in class com.trivago.triava.util.UnitComponent
Returns the full kilo value, from the remainder less than the "mega" value
kiloPrefix() - Method in class com.trivago.triava.util.UnitSystem
 

L

LFUEviction<K,V> - Class in com.trivago.triava.tcache.eviction
LFU eviction based on use count
LFUEviction() - Constructor for class com.trivago.triava.tcache.eviction.LFUEviction
 
ListenerCacheEventManager<K,V> - Class in com.trivago.triava.tcache.event
A CacheEventManager that only sends the events to the listener.
ListenerCacheEventManager() - Constructor for class com.trivago.triava.tcache.event.ListenerCacheEventManager
 
ListenerCollection<K,V> - Class in com.trivago.triava.tcache.event
 
ListenerCollection(Cache<K, V>, Builder<K, V>) - Constructor for class com.trivago.triava.tcache.event.ListenerCollection
Creates a ListenerCollection that consists of all listeners from builder.getCacheEntryListenerConfigurations().
listeners() - Method in interface com.trivago.triava.tcache.action.ActionContext
 
listeners() - Method in class com.trivago.triava.tcache.Cache
 
loadAll(Iterable<? extends K>) - Method in class com.trivago.triava.tcache.core.CacheLoader
 
loadAll(Set<? extends K>, boolean, CompletionListener) - Method in class com.trivago.triava.tcache.TCacheJSR107
 
loader - Variable in class com.trivago.triava.tcache.Cache
 
LongAdderStatisticsCalculator - Class in com.trivago.triava.tcache.statistics
Implementation for StatisticsCalculator, that implements all statistics, using LongAdder counters.
LongAdderStatisticsCalculator() - Constructor for class com.trivago.triava.tcache.statistics.LongAdderStatisticsCalculator
 
LRUEviction<K,V> - Class in com.trivago.triava.tcache.eviction
LRU eviction based on last access time
LRUEviction() - Constructor for class com.trivago.triava.tcache.eviction.LRUEviction
 

M

mega() - Method in class com.trivago.triava.util.UnitComponent
Returns the full mega value, from the remainder less than the "giga" value
megaPrefix() - Method in class com.trivago.triava.util.UnitSystem
 
millis() - Method in class com.trivago.triava.time.EstimatorTimeSource
 
millis() - Method in class com.trivago.triava.time.OffsetTimeSource
 
millis() - Method in class com.trivago.triava.time.SystemTimeSource
 
millis() - Method in interface com.trivago.triava.time.TimeSource
Returns the time in milliseconds.

N

name() - Method in class com.trivago.triava.util.UnitPrefix
 
newHolder - Variable in class com.trivago.triava.tcache.core.Holders
 
newMBeanServer(String, MBeanServer, MBeanServerDelegate) - Method in class com.trivago.triava.tcache.util.TCKMBeanServerBuilder
 
next() - Method in class com.trivago.triava.tcache.core.TCacheEntryIterator
 
next() - Method in class com.trivago.triava.tcache.core.TCacheHolderIterator
 
NopCacheWriter<K,V> - Class in com.trivago.triava.tcache.core
A CacheWriter that does nothing
NopCacheWriter() - Constructor for class com.trivago.triava.tcache.core.NopCacheWriter
 
notifyListeners(ActionRunner<K, V>, Object) - Method in class com.trivago.triava.tcache.action.Action
 
NotYear2038Safe - Annotation Type in com.trivago.triava.annotations
Use this annotation if your class or field is not Year 2038 safe.
NullStatisticsCalculator - Class in com.trivago.triava.tcache.statistics
Implementation for StatisticsCalculator, that does not count and all getters return zero values.
NullStatisticsCalculator() - Constructor for class com.trivago.triava.tcache.statistics.NullStatisticsCalculator
 

O

objectNameType() - Method in class com.trivago.triava.tcache.statistics.TCacheStatisticsMBean
 
objectNameType() - Method in class com.trivago.triava.tcache.util.TCacheConfigurationMBean
 
objectNameType() - Method in class com.trivago.triava.tcache.util.TCacheMBean
 
objects - Variable in class com.trivago.triava.tcache.Cache
 
ObjectSizeCalculatorIgnore - Annotation Type in com.trivago.triava.annotations
A flag annotation to tag fields which should not get counted in the ObjectSizeCalculator.
ObjectSizeCalculatorInterface - Interface in com.trivago.triava.tcache.util
Interface for an ObjectSizeCalculator, that does a deep calculation of the object trees size in byte.
OffsetTimeSource - Class in com.trivago.triava.time
A TimeSource that produces times with an offset to the actual time.
OffsetTimeSource(long, TimeSource) - Constructor for class com.trivago.triava.time.OffsetTimeSource
Creates a TimeSource that produces times starting with the given startTimeMillis.
oldHolder - Variable in class com.trivago.triava.tcache.core.Holders
 
operation() - Method in class com.trivago.triava.tcache.core.TCacheJSR107MutableEntry
Returns the operation that should be performed on this MutableEntry after the EntryProcessor has returned.

P

peek() - Method in class com.trivago.triava.tcache.AccessTimeObjectHolder
 
peek() - Method in interface com.trivago.triava.tcache.TCacheHolder
Returns the value, that this holder holds.
postMutate(Action<K, V, ?>) - Method in class com.trivago.triava.tcache.action.ActionRunner
 
postMutate(Action<K, V, ?>, Object) - Method in class com.trivago.triava.tcache.action.ActionRunner
 
postMutate(Action<K, V, ?>, Object) - Method in class com.trivago.triava.tcache.action.WriteBehindActionRunner
 
postMutate(Action<K, V, ?>, Object) - Method in class com.trivago.triava.tcache.action.WriteThroughActionRunner
 
preMutate(Action<K, V, ?>, Object) - Method in class com.trivago.triava.tcache.action.ActionRunner
 
preMutate(Action<K, V, ?>) - Method in class com.trivago.triava.tcache.action.ActionRunner
 
preMutate(Action<K, V, ?>, Object) - Method in class com.trivago.triava.tcache.action.WriteBehindActionRunner
 
preMutate(Action<K, V, ?>, Object) - Method in class com.trivago.triava.tcache.action.WriteThroughActionRunner
 
put(K, V) - Method in class com.trivago.triava.tcache.Cache
Add an object to the cache under the given key, using the default idle time and default cache time.
put(K, V, int, int, TimeUnit) - Method in class com.trivago.triava.tcache.Cache
Add an object to the cache under the given key with the given idle and cache times.
put(K, V) - Method in class com.trivago.triava.tcache.storage.ConcurrentKeyDeserMap
 
put(K, V) - Method in class com.trivago.triava.tcache.TCacheJSR107
 
PutAction<K,V,W> - Class in com.trivago.triava.tcache.action
An action suitable for any put-action like put, putIfAbsent, putAndRemove
PutAction(K, V, EventType, boolean) - Constructor for class com.trivago.triava.tcache.action.PutAction
 
PutAction(K, V, EventType, boolean, boolean) - Constructor for class com.trivago.triava.tcache.action.PutAction
 
putAll(Map<? extends K, ? extends V>) - Method in class com.trivago.triava.tcache.storage.ConcurrentKeyDeserMap
 
putAll(Map<? extends K, ? extends V>) - Method in class com.trivago.triava.tcache.TCacheJSR107
 
putIfAbsent(K, V, int, int, TimeUnit) - Method in class com.trivago.triava.tcache.Cache
The same like Cache.put(Object, Object, int, int, TimeUnit), but uses ConcurrentMap.putIfAbsent(Object, Object) to actually write the data in the backing ConcurrentMap.
putIfAbsent(K, V) - Method in class com.trivago.triava.tcache.Cache
The same like Cache.putIfAbsent(Object, Object, int, int, TimeUnit), but uses the default idle and cache times.
putIfAbsent(K, V) - Method in class com.trivago.triava.tcache.storage.ConcurrentKeyDeserMap
 
putIfAbsent(K, V) - Method in class com.trivago.triava.tcache.TCacheJSR107
 
putToMap(K, V, long, long, boolean, boolean) - Method in class com.trivago.triava.tcache.Cache
Puts the value wrapped in a AccessTimeObjectHolder in the map and returns it.

R

register(Cache<?, ?>) - Method in class com.trivago.triava.tcache.util.TCacheMBean
 
registerCache(Cache<?, ?>) - Method in class com.trivago.triava.tcache.TCacheFactory
Registers a Cache to this factory.
registerCacheEntryListener(CacheEntryListenerConfiguration<K, V>) - Method in class com.trivago.triava.tcache.event.ListenerCollection
Registers a cache listener.
registerCacheEntryListener(CacheEntryListenerConfiguration<K, V>) - Method in class com.trivago.triava.tcache.TCacheJSR107
 
registerEvents(long, int) - Method in class com.trivago.triava.tcache.statistics.SlidingWindowCounter
 
release() - Method in class com.trivago.triava.tcache.AccessTimeObjectHolder
Releases all references to objects that this holder holds.
remove(K, V) - Method in class com.trivago.triava.tcache.Cache
Removes the object with given key, if stored in the Cache.
remove(K) - Method in class com.trivago.triava.tcache.Cache
Removes the mapping for the given key, and returns the value that was stored for it.
remove() - Method in class com.trivago.triava.tcache.core.TCacheEntryIterator
 
remove() - Method in class com.trivago.triava.tcache.core.TCacheHolderIterator
 
remove() - Method in class com.trivago.triava.tcache.core.TCacheJSR107MutableEntry
 
remove(Object) - Method in class com.trivago.triava.tcache.storage.ConcurrentKeyDeserMap
 
remove(Object, Object) - Method in class com.trivago.triava.tcache.storage.ConcurrentKeyDeserMap
 
remove(K) - Method in class com.trivago.triava.tcache.TCacheJSR107
 
remove(K, V) - Method in class com.trivago.triava.tcache.TCacheJSR107
 
removeAll() - Method in class com.trivago.triava.tcache.TCacheJSR107
 
removeAll(Set<? extends K>) - Method in class com.trivago.triava.tcache.TCacheJSR107
 
removeAndRelease(K) - Method in class com.trivago.triava.tcache.Cache
Removes the mapping for the given key, and releases the associated holder.
removeCacheEntryListenerConfiguration(CacheEntryListenerConfiguration<K, V>) - Method in class com.trivago.triava.tcache.core.Builder
 
removeCacheEntryListenerConfiguration(CacheEntryListenerConfiguration<K, V>) - Method in interface com.trivago.triava.tcache.core.TriavaCacheConfiguration
 
removeCacheManager0(CacheManager) - Method in class com.trivago.triava.tcache.core.TCacheProvider
Deprecated.
removed(CacheEntryRemovedListener<K, V>, TCacheEntryEventCollection<K, V>) - Method in interface com.trivago.triava.tcache.event.CacheEventManager
 
removed(CacheEntryRemovedListener<K, V>, TCacheEntryEventCollection<K, V>) - Method in class com.trivago.triava.tcache.event.ListenerCacheEventManager
 
removeNotificationListener(NotificationListener, NotificationFilter, Object) - Method in class com.trivago.triava.tcache.util.TCKMBeanServerBuilder.RIMBeanServerDelegate
 
removeNotificationListener(NotificationListener) - Method in class com.trivago.triava.tcache.util.TCKMBeanServerBuilder.RIMBeanServerDelegate
 
replace(K, V, V) - Method in class com.trivago.triava.tcache.Cache
 
replace(K, V, V) - Method in class com.trivago.triava.tcache.storage.ConcurrentKeyDeserMap
 
replace(K, V) - Method in class com.trivago.triava.tcache.storage.ConcurrentKeyDeserMap
 
replace(K, V) - Method in class com.trivago.triava.tcache.TCacheJSR107
 
replace(K, V, V) - Method in class com.trivago.triava.tcache.TCacheJSR107
 
ReplaceAction<K,V,W> - Class in com.trivago.triava.tcache.action
An Action that has both Get and Put characteristics, like getAndPut(), retAndReplace() and the 3-arg replace().
ReplaceAction(K, V, EventType) - Constructor for class com.trivago.triava.tcache.action.ReplaceAction
 
reportAllCacheSizes(ObjectSizeCalculatorInterface) - Method in class com.trivago.triava.tcache.TCacheFactory
Reports size of all Cache instances, which were registered via TCacheFactory.registerCache(Cache).
reportSize(ObjectSizeCalculatorInterface) - Method in class com.trivago.triava.tcache.Cache
Measures the number of elements and the size of this Cache in bytes and logs it.
RIMBeanServerDelegate(MBeanServerDelegate) - Constructor for class com.trivago.triava.tcache.util.TCKMBeanServerBuilder.RIMBeanServerDelegate
Constructor
run() - Method in class com.trivago.triava.tcache.Cache.CleanupThread
 
run() - Method in class com.trivago.triava.time.EstimatorTimeSource
 

S

seconds() - Method in class com.trivago.triava.time.EstimatorTimeSource
 
seconds() - Method in class com.trivago.triava.time.OffsetTimeSource
 
seconds() - Method in class com.trivago.triava.time.SystemTimeSource
 
seconds() - Method in interface com.trivago.triava.time.TimeSource
Returns the time in seconds.
SecondsOrMillis - Class in com.trivago.triava.tcache.util
Utility class to convert a millisecond value to an internal representation, with precision of either milliseconds or seconds.
SecondsOrMillis() - Constructor for class com.trivago.triava.tcache.util.SecondsOrMillis
 
sendNotification(Notification) - Method in class com.trivago.triava.tcache.util.TCKMBeanServerBuilder.RIMBeanServerDelegate
 
Serializing - Class in com.trivago.triava.tcache.util
Methods that help serializing and deserializing.
Serializing() - Constructor for class com.trivago.triava.tcache.util.Serializing
 
setCacheLoaderFactory(Factory<CacheLoader<K, V>>) - Method in class com.trivago.triava.tcache.core.Builder
 
setCacheLoaderFactory(Factory<CacheLoader<K, V>>) - Method in interface com.trivago.triava.tcache.core.TriavaCacheConfiguration
 
setCacheWriteMode(CacheWriteMode) - Method in class com.trivago.triava.tcache.core.Builder
 
setCacheWriteMode(CacheWriteMode) - Method in interface com.trivago.triava.tcache.core.TriavaCacheConfiguration
 
setCacheWriterFactory(Factory<? extends CacheWriter<? super K, ? super V>>) - Method in class com.trivago.triava.tcache.core.Builder
 
setCacheWriterFactory(Factory<? extends CacheWriter<? super K, ? super V>>) - Method in interface com.trivago.triava.tcache.core.TriavaCacheConfiguration
 
setCleanupInterval(int, TimeUnit) - Method in class com.trivago.triava.tcache.core.Builder
 
setCleanupInterval(int, TimeUnit) - Method in interface com.trivago.triava.tcache.core.TriavaCacheConfiguration
Sets the proposed cleanup interval for expiring cache entries.
setConcurrencyLevel(int) - Method in class com.trivago.triava.tcache.core.Builder
 
setConcurrencyLevel(int) - Method in interface com.trivago.triava.tcache.core.TriavaCacheConfiguration
Sets the expected concurrency level.
setDropCount(long) - Method in class com.trivago.triava.tcache.statistics.TCacheStatistics
 
setDropCount(long) - Method in interface com.trivago.triava.tcache.statistics.TCacheStatisticsInterface
 
setElementCount(long) - Method in class com.trivago.triava.tcache.statistics.TCacheStatistics
 
setElementCount(long) - Method in interface com.trivago.triava.tcache.statistics.TCacheStatisticsInterface
 
setEventType(EventType) - Method in class com.trivago.triava.tcache.action.Action
 
setEvictionClass(EvictionInterface<K, V>) - Method in class com.trivago.triava.tcache.core.Builder
 
setEvictionClass(EvictionInterface<K, V>) - Method in interface com.trivago.triava.tcache.core.TriavaCacheConfiguration
Sets a custom eviction policy.
setEvictionCount(long) - Method in class com.trivago.triava.tcache.statistics.TCacheStatistics
 
setEvictionCount(long) - Method in interface com.trivago.triava.tcache.statistics.TCacheStatisticsInterface
 
setEvictionHalts(long) - Method in class com.trivago.triava.tcache.statistics.TCacheStatistics
 
setEvictionHalts(long) - Method in interface com.trivago.triava.tcache.statistics.TCacheStatisticsInterface
 
setEvictionPolicy(EvictionPolicy) - Method in class com.trivago.triava.tcache.core.Builder
 
setEvictionPolicy(EvictionPolicy) - Method in interface com.trivago.triava.tcache.core.TriavaCacheConfiguration
Sets the eviction policy, for example LFU or LRU.
setEvictionRate(long) - Method in class com.trivago.triava.tcache.statistics.TCacheStatistics
 
setEvictionRate(long) - Method in interface com.trivago.triava.tcache.statistics.TCacheStatisticsInterface
 
setEvictionRounds(long) - Method in class com.trivago.triava.tcache.statistics.TCacheStatistics
 
setEvictionRounds(long) - Method in interface com.trivago.triava.tcache.statistics.TCacheStatisticsInterface
 
setExpectedMapSize(int) - Method in class com.trivago.triava.tcache.core.Builder
setExpireUntil(int, TimeUnit, Random) - Method in class com.trivago.triava.tcache.AccessTimeObjectHolder
|-------------- maxCacheTimeMillis --------------| | | |--- newMaxCacheTimeMillis ---| | | | | -|---------|-------------------|------------------|------------------------------------- time | | | | | now now + delayMillis | | = expirationOnNewExpireUntil | | | inputDate + baseTimeMillis = creationTime creationTime + maxCacheTime
setExpiryPolicyFactory(Factory<? extends ExpiryPolicy>) - Method in class com.trivago.triava.tcache.core.Builder
Sets the ExpiryPolicyFactory.
setExpiryPolicyFactory(Factory<? extends ExpiryPolicy>) - Method in interface com.trivago.triava.tcache.core.TriavaCacheConfiguration
Sets the ExpiryPolicyFactory.
setHashImplementation(HashImplementation) - Method in class com.trivago.triava.tcache.core.Builder
Set the StorageBackend for the underlying ConcurrentMap.
setHashImplementation(HashImplementation) - Method in interface com.trivago.triava.tcache.core.TriavaCacheConfiguration
Set the StorageBackend for the underlying ConcurrentMap.
setHitCount(long) - Method in class com.trivago.triava.tcache.statistics.TCacheStatistics
 
setHitCount(long) - Method in interface com.trivago.triava.tcache.statistics.TCacheStatisticsInterface
 
setHitRatio(float) - Method in class com.trivago.triava.tcache.statistics.TCacheStatistics
 
setHitRatio(float) - Method in interface com.trivago.triava.tcache.statistics.TCacheStatisticsInterface
 
setId(String) - Method in class com.trivago.triava.tcache.core.Builder
 
setId(String) - Method in interface com.trivago.triava.tcache.core.TriavaCacheConfiguration
Sets the id of this Cache.
setId(String) - Method in class com.trivago.triava.tcache.statistics.TCacheStatistics
 
setJamPolicy(JamPolicy) - Method in class com.trivago.triava.tcache.core.Builder
Sets the policy, how a Thread that calls put() will behave the cache is full.
setJamPolicy(JamPolicy) - Method in interface com.trivago.triava.tcache.core.TriavaCacheConfiguration
Sets the policy, how a Thread that calls put() will behave the cache is full.
setKeyType(Class<K>) - Method in class com.trivago.triava.tcache.core.Builder
 
setKeyType(Class<K>) - Method in interface com.trivago.triava.tcache.core.TriavaCacheConfiguration
 
setLoader(CacheLoader<K, V>) - Method in class com.trivago.triava.tcache.core.Builder
 
setLoader(CacheLoader<K, V>) - Method in interface com.trivago.triava.tcache.core.TriavaCacheConfiguration
 
setLogger(TriavaLogger) - Static method in class com.trivago.triava.tcache.Cache
Sets the logger that will be used for all Cache instances.
setManagement(boolean) - Method in class com.trivago.triava.tcache.core.Builder
Sets whether management should be enabled.
setManagement(boolean) - Method in interface com.trivago.triava.tcache.core.TriavaCacheConfiguration
Sets whether management should be enabled.
setMaxCacheTime(int, int, TimeUnit) - Method in class com.trivago.triava.tcache.core.Builder
 
setMaxCacheTime(int, TimeUnit) - Method in class com.trivago.triava.tcache.core.Builder
 
setMaxCacheTime(int, int, TimeUnit) - Method in interface com.trivago.triava.tcache.core.TriavaCacheConfiguration
Sets the interval within a cache entry expires.
setMaxCacheTime(int, TimeUnit) - Method in interface com.trivago.triava.tcache.core.TriavaCacheConfiguration
Sets the default expiration time for entries in this cache.
setMaxElements(int) - Method in class com.trivago.triava.tcache.core.Builder
 
setMaxElements(int) - Method in interface com.trivago.triava.tcache.core.TriavaCacheConfiguration
Sets the expected number of elements to be stored.
setMaxIdleTime(int, TimeUnit) - Method in class com.trivago.triava.tcache.AccessTimeObjectHolder
 
setMaxIdleTime(int, TimeUnit) - Method in class com.trivago.triava.tcache.core.Builder
 
setMaxIdleTime(int, TimeUnit) - Method in interface com.trivago.triava.tcache.core.TriavaCacheConfiguration
Sets the maximum time of an unused (idle) cache entry.
setMissCount(long) - Method in class com.trivago.triava.tcache.statistics.TCacheStatistics
 
setMissCount(long) - Method in interface com.trivago.triava.tcache.statistics.TCacheStatisticsInterface
 
setPutCount(long) - Method in class com.trivago.triava.tcache.statistics.TCacheStatistics
 
setPutCount(long) - Method in interface com.trivago.triava.tcache.statistics.TCacheStatisticsInterface
 
setReadThrough(boolean) - Method in class com.trivago.triava.tcache.core.Builder
 
setReadThrough(boolean) - Method in interface com.trivago.triava.tcache.core.TriavaCacheConfiguration
 
setRemoveCount(long) - Method in class com.trivago.triava.tcache.statistics.TCacheStatistics
 
setRemoveCount(long) - Method in interface com.trivago.triava.tcache.statistics.TCacheStatisticsInterface
 
setRemoved(boolean) - Method in class com.trivago.triava.tcache.action.DeleteAction
 
setStatistics(boolean) - Method in class com.trivago.triava.tcache.core.Builder
Sets whether statistics should be gathered.
setStatistics(boolean) - Method in interface com.trivago.triava.tcache.core.TriavaCacheConfiguration
Sets whether statistics should be gathered.
setStrictJSR107(boolean) - Method in class com.trivago.triava.tcache.core.Builder
 
setStrictJSR107(boolean) - Method in interface com.trivago.triava.tcache.core.TriavaCacheConfiguration
 
setValue(V) - Method in class com.trivago.triava.tcache.core.TCacheJSR107MutableEntry
 
setValueType(Class<V>) - Method in class com.trivago.triava.tcache.core.Builder
 
setValueType(Class<V>) - Method in interface com.trivago.triava.tcache.core.TriavaCacheConfiguration
 
setWriteThrough(boolean) - Method in class com.trivago.triava.tcache.core.Builder
 
setWriteThrough(boolean) - Method in interface com.trivago.triava.tcache.core.TriavaCacheConfiguration
 
shutdown() - Method in class com.trivago.triava.tcache.event.ListenerCollection
 
shutdown() - Method in class com.trivago.triava.time.EstimatorTimeSource
 
shutdown() - Method in class com.trivago.triava.time.OffsetTimeSource
 
shutdown() - Method in class com.trivago.triava.time.SystemTimeSource
 
shutdown() - Method in interface com.trivago.triava.time.TimeSource
Shutdown the time source.
shutdownCustomImpl() - Method in class com.trivago.triava.tcache.CacheLimit
Shuts down the Eviction thread.
SI - Static variable in class com.trivago.triava.util.UnitSystem
Si units (k) and names (kilo), using 1000 as a base
size() - Method in class com.trivago.triava.collections.HashInterner
 
size() - Method in class com.trivago.triava.tcache.Cache
 
size() - Method in class com.trivago.triava.tcache.event.ListenerCollection
Returns the number of listeners in this ListenerCollection.
size() - Method in class com.trivago.triava.tcache.storage.ConcurrentKeyDeserMap
 
SlidingWindowCounter - Class in com.trivago.triava.tcache.statistics
Created by astamenov on 29.05.2015.
SlidingWindowCounter(int, int) - Constructor for class com.trivago.triava.tcache.statistics.SlidingWindowCounter
 
standardFactory() - Static method in class com.trivago.triava.tcache.TCacheFactory
Returns the standard factory.
StandardStatisticsCalculator - Class in com.trivago.triava.tcache.statistics
Deprecated.
Use LongAdderStatisticsCalculator instead. This class will be removed in triava 2.0
StandardStatisticsCalculator() - Constructor for class com.trivago.triava.tcache.statistics.StandardStatisticsCalculator
Deprecated.
 
statistics(ActionRunner<K, V>, Object) - Method in class com.trivago.triava.tcache.action.Action
 
statistics() - Method in class com.trivago.triava.tcache.Cache
 
statisticsCalculator() - Method in interface com.trivago.triava.tcache.action.ActionContext
 
statisticsCalculator() - Method in class com.trivago.triava.tcache.Cache
 
StatisticsCalculator - Interface in com.trivago.triava.tcache.statistics
The StatisticsCalculator interface contains methods for easy statistics management.
stopAndClear(long) - Method in class com.trivago.triava.tcache.Cache
 
StorageBackend<K,V> - Interface in com.trivago.triava.tcache.core
The basic interface for providing a storage backend that holds the values of
storageFactory() - Method in class com.trivago.triava.tcache.core.Builder
 
storageFactory() - Method in interface com.trivago.triava.tcache.core.TriavaCacheConfiguration
 
successful() - Method in class com.trivago.triava.tcache.action.Action
 
symbol() - Method in class com.trivago.triava.util.UnitPrefix
 
synchronizeTimePointer(long) - Method in class com.trivago.triava.tcache.statistics.SlidingWindowCounter
Synchronizes counter.timePointer with now.
SystemTimeSource - Class in com.trivago.triava.time
A TimeSource that uses System.currentTimeMillis() as time source.
SystemTimeSource() - Constructor for class com.trivago.triava.time.SystemTimeSource
 

T

TCacheConfigurationBean<K,V> - Class in com.trivago.triava.tcache.core
 
TCacheConfigurationBean(Cache<K, V>) - Constructor for class com.trivago.triava.tcache.core.TCacheConfigurationBean
 
TCacheConfigurationMBean - Class in com.trivago.triava.tcache.util
 
TCacheConfigurationMBean() - Constructor for class com.trivago.triava.tcache.util.TCacheConfigurationMBean
 
TCacheEntryEvent<K,V> - Class in com.trivago.triava.tcache.event
tCache implementation of CacheEntryEvent.
TCacheEntryEvent(Cache<K, V>, EventType, K, V) - Constructor for class com.trivago.triava.tcache.event.TCacheEntryEvent
 
TCacheEntryEvent(Cache<K, V>, EventType, K, V, V) - Constructor for class com.trivago.triava.tcache.event.TCacheEntryEvent
 
TCacheEntryEvent(Cache<K, V>, EventType, K, V, V, boolean) - Constructor for class com.trivago.triava.tcache.event.TCacheEntryEvent
 
TCacheEntryEventCollection<K,V> - Class in com.trivago.triava.tcache.event
 
TCacheEntryIterator<K,V> - Class in com.trivago.triava.tcache.core
An Iterator for Cache Entries.
TCacheEntryIterator(Cache<K, V>, ConcurrentMap<K, AccessTimeObjectHolder<V>>, TCacheExpiryPolicy) - Constructor for class com.trivago.triava.tcache.core.TCacheEntryIterator
 
TCacheExpiryPolicy - Interface in com.trivago.triava.tcache.expiry
A lighter version of the JSR107 ExpiryPolicy class.
TCacheFactory - Class in com.trivago.triava.tcache
The TCacheFactory allows to create Cache instances via calls to TCacheFactory.builder(), and also supplies administrative methods for the managed caches, like shutting down all registered Caches.
TCacheFactory() - Constructor for class com.trivago.triava.tcache.TCacheFactory
Creates a TCacheFactory with default parameters.
TCacheFactory(URI, ClassLoader, TCacheProvider) - Constructor for class com.trivago.triava.tcache.TCacheFactory
 
TCacheFactory(URI, ClassLoader, Properties, TCacheProvider) - Constructor for class com.trivago.triava.tcache.TCacheFactory
 
TCacheHolder<V> - Interface in com.trivago.triava.tcache
Represents a Cache value with associated metadata like use count and access count.
TCacheHolderIterator<K,V> - Class in com.trivago.triava.tcache.core
An Iterator for Cache Entries.
TCacheHolderIterator(Cache<K, V>, ConcurrentMap<K, AccessTimeObjectHolder<V>>, TCacheExpiryPolicy, boolean) - Constructor for class com.trivago.triava.tcache.core.TCacheHolderIterator
 
TCacheJSR107<K,V> - Class in com.trivago.triava.tcache
A Java Caching implementation
TCacheJSR107Entry<K,V> - Class in com.trivago.triava.tcache.core
tCache implementation of Cache.Entry.
TCacheJSR107Entry(K, V) - Constructor for class com.trivago.triava.tcache.core.TCacheJSR107Entry
Creates an instance based on the native tCache entry plus the key.
TCacheJSR107MutableEntry<K,V> - Class in com.trivago.triava.tcache.core
tCache implementation of MutableEntry.
TCacheJSR107MutableEntry(K, V, CacheLoader<K, V>) - Constructor for class com.trivago.triava.tcache.core.TCacheJSR107MutableEntry
Creates an instance based on the native tCache entry plus the key.
TCacheJSR107MutableEntry.Operation - Enum in com.trivago.triava.tcache.core
 
TCacheMBean - Class in com.trivago.triava.tcache.util
Utility functions to register MBean objects.
TCacheMBean() - Constructor for class com.trivago.triava.tcache.util.TCacheMBean
 
TCacheProvider - Class in com.trivago.triava.tcache.core
 
TCacheProvider() - Constructor for class com.trivago.triava.tcache.core.TCacheProvider
 
TCacheStatistics - Class in com.trivago.triava.tcache.statistics
Hold statistics for tCache, for example number of elements and hit count.
TCacheStatistics(String) - Constructor for class com.trivago.triava.tcache.statistics.TCacheStatistics
Creates empty Statistics.
TCacheStatisticsBean - Class in com.trivago.triava.tcache.statistics
 
TCacheStatisticsBean(Cache<?, ?>, StatisticsCalculator, TCacheStatisticsBean.StatisticsAveragingMode) - Constructor for class com.trivago.triava.tcache.statistics.TCacheStatisticsBean
 
TCacheStatisticsBean.StatisticsAveragingMode - Enum in com.trivago.triava.tcache.statistics
 
TCacheStatisticsInterface - Interface in com.trivago.triava.tcache.statistics
The statistics interface contains setters for Cache statistics.
TCacheStatisticsMBean - Class in com.trivago.triava.tcache.statistics
 
TCacheStatisticsMBean() - Constructor for class com.trivago.triava.tcache.statistics.TCacheStatisticsMBean
 
TCacheStatisticsMXBean - Interface in com.trivago.triava.tcache.statistics
 
TCKMBeanServerBuilder - Class in com.trivago.triava.tcache.util
An MBeanServer builder which creates a local MBeanServer.
TCKMBeanServerBuilder() - Constructor for class com.trivago.triava.tcache.util.TCKMBeanServerBuilder
Empty public constructor as required
TCKMBeanServerBuilder.RIMBeanServerDelegate - Class in com.trivago.triava.tcache.util
A decorator around the MBeanServerDelegate which sets the mBeanServerId to the value of the org.jsr107.tck.management.agentId system property so that the TCK can precisely identify the correct MBeanServer when running tests.
tick() - Method in class com.trivago.triava.tcache.statistics.LongAdderStatisticsCalculator
 
tick() - Method in class com.trivago.triava.tcache.statistics.NullStatisticsCalculator
 
tick() - Method in class com.trivago.triava.tcache.statistics.StandardStatisticsCalculator
Deprecated.
 
tick() - Method in interface com.trivago.triava.tcache.statistics.StatisticsCalculator
Ends the current measurement interval, and returns the hits and misses since the last measurement.This method is called only once per measurement interval, which is 1 minute.
time(TimeUnit) - Method in class com.trivago.triava.time.EstimatorTimeSource
 
time(TimeUnit) - Method in class com.trivago.triava.time.OffsetTimeSource
 
time(TimeUnit) - Method in class com.trivago.triava.time.SystemTimeSource
 
time(TimeUnit) - Method in interface com.trivago.triava.time.TimeSource
Returns the time in the given time unit.
TimeSource - Interface in com.trivago.triava.time
The TimeSource interface allows the integration of arbitrary time sources.
TimeZoneAware - Annotation Type in com.trivago.triava.annotations
Documents whether a certain method is time zone aware.
TimeZoneAware.State - Enum in com.trivago.triava.annotations
 
toBytearray(Object) - Static method in class com.trivago.triava.tcache.util.Serializing
 
toString() - Method in class com.trivago.triava.collections.HashInterner
 
toString() - Method in class com.trivago.triava.tcache.AccessTimeObjectHolder
 
toString() - Method in class com.trivago.triava.tcache.Cache
 
toString() - Method in class com.trivago.triava.tcache.statistics.LongAdderStatisticsCalculator
 
toString() - Method in class com.trivago.triava.tcache.statistics.SlidingWindowCounter
 
toString() - Method in class com.trivago.triava.tcache.statistics.StandardStatisticsCalculator
Deprecated.
 
toString() - Method in class com.trivago.triava.tcache.statistics.TCacheStatistics
 
toString() - Method in class com.trivago.triava.tcache.util.CacheSizeInfo
 
TouchedExpiryPolicy - Class in com.trivago.triava.tcache.expiry
A JSR107 compatible TCacheExpiryPolicy, that reads calls the getters of the ExpiryPolicy each time.
TouchedExpiryPolicy(ExpiryPolicy) - Constructor for class com.trivago.triava.tcache.expiry.TouchedExpiryPolicy
 
TriavaCacheConfiguration<K,V,B extends TriavaCacheConfiguration<K,V,B>> - Interface in com.trivago.triava.tcache.core
A Builder to create Cache instances.
TriavaCacheConfiguration.PropsType - Enum in com.trivago.triava.tcache.core
 
TriavaConsoleLogger - Class in com.trivago.triava.logging
A log implementation that logs info messages to System.out and error messages to System.err.
TriavaConsoleLogger() - Constructor for class com.trivago.triava.logging.TriavaConsoleLogger
 
TriavaLogger - Interface in com.trivago.triava.logging
A log facade for usage within the triava library.
TriavaNullLogger - Class in com.trivago.triava.logging
A log implementation that does nothing.
TriavaNullLogger() - Constructor for class com.trivago.triava.logging.TriavaNullLogger
 

U

uncaughtException(Thread, Throwable) - Method in class com.trivago.triava.tcache.Cache
This is called, if the CleanupThread goes down on an unexpected (uncaught) Exception.
UnitComponent - Class in com.trivago.triava.util
Holder that stores a long value separated in its unit prefixes giga, mega, kilo and non-prefix.
UnitComponent(long, UnitSystem) - Constructor for class com.trivago.triava.util.UnitComponent
Creates a representation in the UnitSystem for the value.
UnitFormatter - Class in com.trivago.triava.util
UnitTools contain methods to format a numerical value using units from a UnitSystem.
UnitFormatter() - Constructor for class com.trivago.triava.util.UnitFormatter
 
UnitPrefix - Class in com.trivago.triava.util
Represents a unit prefix, for example milli or giga.
UnitSystem - Class in com.trivago.triava.util
Defines a Unit system that contains UnitPrefixes for kilo, mega ang giga.
unregister(Cache<?, ?>) - Method in class com.trivago.triava.tcache.util.TCacheMBean
 
UntouchedExpiryPolicy - Class in com.trivago.triava.tcache.expiry
Am ExpiryPolicy with fixed expiry times.
UntouchedExpiryPolicy(ExpiryPolicy) - Constructor for class com.trivago.triava.tcache.expiry.UntouchedExpiryPolicy
 
unwrap(Class<T>) - Method in class com.trivago.triava.tcache.core.TCacheJSR107Entry
 
unwrap(Class<T>) - Method in class com.trivago.triava.tcache.event.TCacheEntryEvent
 
unwrap(Class<T>) - Method in class com.trivago.triava.tcache.TCacheFactory
 
unwrap(Class<T>) - Method in class com.trivago.triava.tcache.TCacheJSR107
 
updated(CacheEntryUpdatedListener<K, V>, TCacheEntryEventCollection<K, V>) - Method in interface com.trivago.triava.tcache.event.CacheEventManager
 
updated(CacheEntryUpdatedListener<K, V>, TCacheEntryEventCollection<K, V>) - Method in class com.trivago.triava.tcache.event.ListenerCacheEventManager
 
updateMaxIdleTime(long) - Method in class com.trivago.triava.tcache.AccessTimeObjectHolder
Prolongs the maxIdleTime by the given idleTime. 0 means immediate expiration, -1 means to not change anything, any positive value is the prolongation in seconds.

V

value() - Method in class com.trivago.triava.util.UnitPrefix
 
valueOf(String) - Static method in enum com.trivago.triava.annotations.InjectionSafe.Reason
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.trivago.triava.annotations.InjectionUnsafe.Exploitability
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.trivago.triava.annotations.InjectionUnsafe.Risk
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.trivago.triava.annotations.InjectionUnsafe.UnsafeReason
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.trivago.triava.annotations.TimeZoneAware.State
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.trivago.triava.tcache.CacheWriteMode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.trivago.triava.tcache.core.TCacheJSR107MutableEntry.Operation
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.trivago.triava.tcache.core.TriavaCacheConfiguration.PropsType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.trivago.triava.tcache.event.DispatchMode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.trivago.triava.tcache.EvictionPolicy
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.trivago.triava.tcache.HashImplementation
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.trivago.triava.tcache.JamPolicy
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.trivago.triava.tcache.statistics.TCacheStatisticsBean.StatisticsAveragingMode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.trivago.triava.tcache.util.ChangeStatus
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.trivago.triava.annotations.InjectionSafe.Reason
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.trivago.triava.annotations.InjectionUnsafe.Exploitability
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.trivago.triava.annotations.InjectionUnsafe.Risk
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.trivago.triava.annotations.InjectionUnsafe.UnsafeReason
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.trivago.triava.annotations.TimeZoneAware.State
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.trivago.triava.tcache.CacheWriteMode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.trivago.triava.tcache.core.TCacheJSR107MutableEntry.Operation
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.trivago.triava.tcache.core.TriavaCacheConfiguration.PropsType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.trivago.triava.tcache.event.DispatchMode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.trivago.triava.tcache.EvictionPolicy
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.trivago.triava.tcache.HashImplementation
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.trivago.triava.tcache.JamPolicy
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.trivago.triava.tcache.statistics.TCacheStatisticsBean.StatisticsAveragingMode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Method in class com.trivago.triava.tcache.storage.ConcurrentKeyDeserMap
 
values() - Static method in enum com.trivago.triava.tcache.util.ChangeStatus
Returns an array containing the constants of this enum type, in the order they are declared.
verifyKeyAndValueNotNull(K, V) - Method in class com.trivago.triava.tcache.util.KeyValueUtil
Checks whether key or value are null.
verifyKeyNotNull(K) - Method in class com.trivago.triava.tcache.util.KeyValueUtil
Checks whether key is null.
verifyKeysNotNull(Set<? extends K>) - Method in class com.trivago.triava.tcache.util.KeyValueUtil
 
verifyValueNotNull(V) - Method in class com.trivago.triava.tcache.util.KeyValueUtil
Checks whether key is null.

W

write(Cache.Entry<? extends K, ? extends V>) - Method in class com.trivago.triava.tcache.core.CacheWriterWrapper
 
write(Cache.Entry<? extends K, ? extends V>) - Method in class com.trivago.triava.tcache.core.NopCacheWriter
 
writeAll(Collection<Cache.Entry<? extends K, ? extends V>>) - Method in class com.trivago.triava.tcache.core.CacheWriterWrapper
 
writeAll(Collection<Cache.Entry<? extends K, ? extends V>>) - Method in class com.trivago.triava.tcache.core.NopCacheWriter
 
WriteBehindActionRunner<K,V> - Class in com.trivago.triava.tcache.action
An ActionRunner with the following behavior: preMutate() : NOP postMutate() : If mutated: statistics, notifyListeners, writeThrough
WriteBehindActionRunner(ActionContext<K, V>) - Constructor for class com.trivago.triava.tcache.action.WriteBehindActionRunner
 
writeThrough(ActionRunner<K, V>, Object) - Method in class com.trivago.triava.tcache.action.Action
 
WriteThroughActionRunner<K,V> - Class in com.trivago.triava.tcache.action
An ActionRunner with the following behavior: preMutate() : writeThrough postMutate() : If mutated: statistics, notifyListeners
WriteThroughActionRunner(ActionContext<K, V>) - Constructor for class com.trivago.triava.tcache.action.WriteThroughActionRunner
 
A B C D E F G H I J K L M N O P R S T U V W 
Skip navigation links

Copyright © 2018 trivago. All rights reserved.