public static enum BoundedConcurrentHashMap.Eviction extends Enum<BoundedConcurrentHashMap.Eviction>
| Modifier and Type | Method and Description |
|---|---|
(package private) abstract <K,V> BoundedConcurrentHashMap.EvictionPolicy<K,V> |
make(BoundedConcurrentHashMap.Segment<K,V> s,
int capacity,
float lf) |
static BoundedConcurrentHashMap.Eviction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BoundedConcurrentHashMap.Eviction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BoundedConcurrentHashMap.Eviction NONE
public static final BoundedConcurrentHashMap.Eviction LRU
public static final BoundedConcurrentHashMap.Eviction LIRS
public static BoundedConcurrentHashMap.Eviction[] values()
for (BoundedConcurrentHashMap.Eviction c : BoundedConcurrentHashMap.Eviction.values()) System.out.println(c);
public static BoundedConcurrentHashMap.Eviction valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullabstract <K,V> BoundedConcurrentHashMap.EvictionPolicy<K,V> make(BoundedConcurrentHashMap.Segment<K,V> s, int capacity, float lf)
Copyright © 2020 JBoss by Red Hat. All rights reserved.