- 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
-
- 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
-
- 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
-
- 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
-
- 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
-
- 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
-
- 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.
- 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
-
- 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
-
- 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
-
- 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.