public static enum InternalCacheRegistry.Flag extends Enum<InternalCacheRegistry.Flag>
Enum Constant and Description |
---|
EXCLUSIVE
means that the cache must be declared only once
|
PERSISTENT
means the cache should be made persistent across restarts if global state persistence is enabled
|
QUERYABLE
means that this cache should be queryable
|
USER
means that this cache is visible to users
|
Modifier and Type | Method and Description |
---|---|
static InternalCacheRegistry.Flag |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InternalCacheRegistry.Flag[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InternalCacheRegistry.Flag EXCLUSIVE
public static final InternalCacheRegistry.Flag USER
public static final InternalCacheRegistry.Flag PERSISTENT
public static final InternalCacheRegistry.Flag QUERYABLE
public static InternalCacheRegistry.Flag[] values()
for (InternalCacheRegistry.Flag c : InternalCacheRegistry.Flag.values()) System.out.println(c);
public static InternalCacheRegistry.Flag 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 © 2018 JBoss, a division of Red Hat. All rights reserved.