public static enum CacheViewControlCommand.Type extends Enum<CacheViewControlCommand.Type>
Enum Constant and Description |
---|
COMMIT_VIEW |
PREPARE_VIEW |
RECOVER_VIEW |
REQUEST_JOIN |
REQUEST_LEAVE |
ROLLBACK_VIEW |
Modifier and Type | Method and Description |
---|---|
static CacheViewControlCommand.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CacheViewControlCommand.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CacheViewControlCommand.Type REQUEST_JOIN
public static final CacheViewControlCommand.Type REQUEST_LEAVE
public static final CacheViewControlCommand.Type PREPARE_VIEW
public static final CacheViewControlCommand.Type COMMIT_VIEW
public static final CacheViewControlCommand.Type ROLLBACK_VIEW
public static final CacheViewControlCommand.Type RECOVER_VIEW
public static CacheViewControlCommand.Type[] values()
for (CacheViewControlCommand.Type c : CacheViewControlCommand.Type.values()) System.out.println(c);
public static CacheViewControlCommand.Type 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 © 2012 JBoss by Red Hat. All Rights Reserved.