public enum NearCacheMode extends Enum<NearCacheMode>
Modifier and Type | Method and Description |
---|---|
boolean |
eager() |
boolean |
enabled() |
static NearCacheMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NearCacheMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NearCacheMode DISABLED
public static final NearCacheMode LAZY
public static final NearCacheMode EAGER
public static NearCacheMode[] values()
for (NearCacheMode c : NearCacheMode.values()) System.out.println(c);
public static NearCacheMode 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 nullpublic boolean enabled()
public boolean eager()
Copyright © 2015 JBoss, a division of Red Hat. All rights reserved.