public static enum SpaceDef.PersistencePolicy extends java.lang.Enum<SpaceDef.PersistencePolicy>
Enum Constant and Description |
---|
ASYNC
Persistence operations are completed asynchronously
|
NONE
Default Persistence policy
|
SYNC
Persistence operations are completed synchronously
|
Modifier and Type | Method and Description |
---|---|
int |
getValue() |
static SpaceDef.PersistencePolicy |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SpaceDef.PersistencePolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SpaceDef.PersistencePolicy NONE
public static final SpaceDef.PersistencePolicy SYNC
public static final SpaceDef.PersistencePolicy ASYNC
public static SpaceDef.PersistencePolicy[] values()
for (SpaceDef.PersistencePolicy c : SpaceDef.PersistencePolicy.values()) System.out.println(c);
public static SpaceDef.PersistencePolicy 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.