org.olap4j.driver.xmla.cache
public static enum XmlaOlap4jNamedMemoryCache.Mode extends Enum<XmlaOlap4jNamedMemoryCache.Mode>
Enum Constant and Description |
---|
FIFO
First-in, first-out.
|
LFU
Least-frequently used.
|
LIFO
Last-in, first-out.
|
MFU
Most-frequently used.
|
Modifier and Type | Method and Description |
---|---|
static XmlaOlap4jNamedMemoryCache.Mode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static XmlaOlap4jNamedMemoryCache.Mode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final XmlaOlap4jNamedMemoryCache.Mode LIFO
public static final XmlaOlap4jNamedMemoryCache.Mode FIFO
public static final XmlaOlap4jNamedMemoryCache.Mode LFU
public static final XmlaOlap4jNamedMemoryCache.Mode MFU
public static XmlaOlap4jNamedMemoryCache.Mode[] values()
for (XmlaOlap4jNamedMemoryCache.Mode c : XmlaOlap4jNamedMemoryCache.Mode.values()) System.out.println(c);
public static XmlaOlap4jNamedMemoryCache.Mode 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 null