public static enum VisitableCommand.LoadType extends Enum<VisitableCommand.LoadType>
Enum Constant and Description |
---|
DONT_LOAD
Never load previous value.
|
OWNER
In non-transactional cache, load previous value on both primary and backups.
|
PRIMARY
In non-transactional cache, load previous value only on the primary owner.
|
Modifier and Type | Method and Description |
---|---|
static VisitableCommand.LoadType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static VisitableCommand.LoadType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VisitableCommand.LoadType DONT_LOAD
public static final VisitableCommand.LoadType PRIMARY
public static final VisitableCommand.LoadType OWNER
public static VisitableCommand.LoadType[] values()
for (VisitableCommand.LoadType c : VisitableCommand.LoadType.values()) System.out.println(c);
public static VisitableCommand.LoadType 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 © 2021 JBoss by Red Hat. All rights reserved.