Package org.olap4j.driver.xmla.cache
Enum Class XmlaOlap4jNamedMemoryCache.Property
java.lang.Object
java.lang.Enum<XmlaOlap4jNamedMemoryCache.Property>
org.olap4j.driver.xmla.cache.XmlaOlap4jNamedMemoryCache.Property
- All Implemented Interfaces:
Serializable
,Comparable<XmlaOlap4jNamedMemoryCache.Property>
,Constable
- Enclosing class:
XmlaOlap4jNamedMemoryCache
public static enum XmlaOlap4jNamedMemoryCache.Property
extends Enum<XmlaOlap4jNamedMemoryCache.Property>
Properties which will be considered for configuration.
All parameters are optional.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static XmlaOlap4jNamedMemoryCache.Property[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NAME
A unique identifier which allows two connections to share a same cache space. Setting this to an already existing cache space will cause the cache manager to ignore other configuration properties, such as eviction mode and so on. Not setting this property will assign a random name to the cache space, thus creating a unique space. -
SIZE
The number of entries to maintain in cache under the given cache name. -
TIMEOUT
The number of seconds to maintain entries in cache before expiration. -
MODE
Eviction mode. Supported eviction modes are LIFO (last in first out), FIFO (first in first out), LFU (least frequently used) and MFU (most frequently used).
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-