|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<CacheType>
flux.CacheType
public enum CacheType
Depending on the kind of cache used in a Flux engine, performance can be increased dramatically. This enumeration lists the different kinds of flow chart caches.
Flow chart caching can be enabled or disabled. Flow chart caching is disabled with the CacheType.NONE option. With this option, flow charts are never cached. To enable flow chart caching on the local Flux engine only to increase performance without sharing cache information across all Flux engines in the cluster, use the CacheType.LOCAL setting. With this setting, flow charts are cached in the local engine only.
Configuration.CACHE_TYPE
Enum Constant Summary | |
---|---|
LOCAL
The Flux engine uses a non-networked local cache. |
|
NONE
The engine does not cache flow charts. |
Method Summary | |
---|---|
static CacheType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static CacheType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final CacheType LOCAL
public static final CacheType NONE
Method Detail |
---|
public static CacheType[] values()
for (CacheType c : CacheType.values()) System.out.println(c);
public static CacheType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |