public static enum SpaceDef.ReplicationPolicy extends java.lang.Enum<SpaceDef.ReplicationPolicy>
Enum Constant and Description |
---|
ASYNC
Space operations are completed asynchronously
|
SYNC
Space operations are completed synchronously
|
Modifier and Type | Method and Description |
---|---|
int |
getValue() |
static SpaceDef.ReplicationPolicy |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SpaceDef.ReplicationPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SpaceDef.ReplicationPolicy SYNC
public static final SpaceDef.ReplicationPolicy ASYNC
public static SpaceDef.ReplicationPolicy[] values()
for (SpaceDef.ReplicationPolicy c : SpaceDef.ReplicationPolicy.values()) System.out.println(c);
public static SpaceDef.ReplicationPolicy valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int getValue()
Copyright (c) 2014 Cloud Software Group, Inc. All rights reserved.