public static enum Param.PersistenceMode extends Enum<Param.PersistenceMode> implements Param<Param.PersistenceMode>
SKIP
, the write operations
can skip the persistence store modification, applying the effects of
the write operation only in the in-memory contents of the caches in
the cluster.Param.FutureMode, Param.PersistenceMode
Modifier and Type | Field and Description |
---|---|
static int |
ID |
Modifier and Type | Method and Description |
---|---|
static Param.PersistenceMode |
defaultValue()
Provides default persistence mode.
|
Param.PersistenceMode |
get()
Parameter's value.
|
int |
id()
A parameter's identifier.
|
static Param.PersistenceMode |
valueOf(int ordinal) |
static Param.PersistenceMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Param.PersistenceMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Param.PersistenceMode PERSIST
public static final Param.PersistenceMode SKIP
public static final int ID
public static Param.PersistenceMode[] values()
for (Param.PersistenceMode c : Param.PersistenceMode.values()) System.out.println(c);
public static Param.PersistenceMode 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 int id()
Param
A numeric id makes it flexible enough to be stored in collections that take up low resources, such as arrays.
id
in interface Param<Param.PersistenceMode>
public Param.PersistenceMode get()
Param
get
in interface Param<Param.PersistenceMode>
public static Param.PersistenceMode defaultValue()
public static Param.PersistenceMode valueOf(int ordinal)
Copyright © 2018 JBoss, a division of Red Hat. All rights reserved.