public static enum LruTaxonomyWriterCache.LRUType extends Enum<LruTaxonomyWriterCache.LRUType>
Enum Constant and Description |
---|
LRU_HASHED
Use only the label's 64 bit longHashCode as the hash key.
|
LRU_STRING
Use the label as the hash key; this is always
correct but will usually use more RAM.
|
Modifier and Type | Method and Description |
---|---|
static LruTaxonomyWriterCache.LRUType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LruTaxonomyWriterCache.LRUType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LruTaxonomyWriterCache.LRUType LRU_HASHED
public static final LruTaxonomyWriterCache.LRUType LRU_STRING
public static LruTaxonomyWriterCache.LRUType[] values()
for (LruTaxonomyWriterCache.LRUType c : LruTaxonomyWriterCache.LRUType.values()) System.out.println(c);
public static LruTaxonomyWriterCache.LRUType 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 nullCopyright © 2000-2021 Apache Software Foundation. All Rights Reserved.