public static enum CacheDirective.Invalidation extends Enum<CacheDirective.Invalidation>
| Enum Constant and Description |
|---|
IMMEDIATE
Invalidate immediately
|
LAZY
Invalidate after new results have been obtained
|
NONE
No invalidation - the default
|
| Modifier and Type | Method and Description |
|---|---|
static CacheDirective.Invalidation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CacheDirective.Invalidation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CacheDirective.Invalidation NONE
public static final CacheDirective.Invalidation LAZY
public static final CacheDirective.Invalidation IMMEDIATE
public static CacheDirective.Invalidation[] values()
for (CacheDirective.Invalidation c : CacheDirective.Invalidation.values()) System.out.println(c);
public static CacheDirective.Invalidation 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 by Red Hat. All rights reserved.