| Package | Description |
|---|---|
| com.trivago.triava.tcache | |
| com.trivago.triava.tcache.core |
| Modifier and Type | Method and Description |
|---|---|
static EvictionPolicy |
EvictionPolicy.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EvictionPolicy[] |
EvictionPolicy.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
EvictionPolicy |
Builder.getEvictionPolicy() |
EvictionPolicy |
TriavaCacheConfiguration.getEvictionPolicy() |
| Modifier and Type | Method and Description |
|---|---|
Builder<K,V> |
Builder.setEvictionPolicy(EvictionPolicy evictionPolicy) |
B |
TriavaCacheConfiguration.setEvictionPolicy(EvictionPolicy evictionPolicy)
Sets the eviction policy, for example LFU or LRU.
|
Copyright © 2018 trivago. All rights reserved.