| Package | Description |
|---|---|
| com.trivago.triava.tcache | |
| com.trivago.triava.tcache.core | |
| com.trivago.triava.tcache.event | |
| com.trivago.triava.tcache.statistics | |
| com.trivago.triava.tcache.util |
| Modifier and Type | Class and Description |
|---|---|
class |
CacheLimit<K,V>
A size limited Cache, that evicts elements asynchronously in the background.
|
| Modifier and Type | Method and Description |
|---|---|
Cache<?,?> |
TCacheFactory.getTCache(String cacheName) |
| Modifier and Type | Method and Description |
|---|---|
List<Cache<?,?>> |
TCacheFactory.instances()
Returns the list of Caches that have been registered via
TCacheFactory.registerCache(Cache). |
| Modifier and Type | Method and Description |
|---|---|
void |
TCacheFactory.registerCache(Cache<?,?> cache)
Registers a Cache to this factory.
|
| Modifier and Type | Method and Description |
|---|---|
Cache<K,V> |
Builder.build()
Builds a Cache from the parameters that were set. evictionType defines the eviction policy.
|
Cache<K,V> |
InternalBuilder.build() |
| Constructor and Description |
|---|
TCacheConfigurationBean(Cache<K,V> tcache) |
TCacheEntryIterator(Cache<K,V> tcache,
ConcurrentMap<K,AccessTimeObjectHolder<V>> objects,
TCacheExpiryPolicy expiryPolicy) |
TCacheHolderIterator(Cache<K,V> tcache,
ConcurrentMap<K,AccessTimeObjectHolder<V>> objects,
TCacheExpiryPolicy expiryPolicy,
boolean touch) |
| Constructor and Description |
|---|
ListenerCollection(Cache<K,V> tcache,
Builder<K,V> builder)
Creates a ListenerCollection that consists of all listeners from builder.getCacheEntryListenerConfigurations().
|
| Constructor and Description |
|---|
TCacheStatisticsBean(Cache<?,?> tcache,
StatisticsCalculator statisticsCalculator,
TCacheStatisticsBean.StatisticsAveragingMode averagingMode) |
| Modifier and Type | Method and Description |
|---|---|
void |
TCacheMBean.register(Cache<?,?> cache) |
void |
TCacheMBean.unregister(Cache<?,?> cache) |
Copyright © 2018 trivago. All rights reserved.