public static enum SpaceDef.DistributionPolicy extends java.lang.Enum<SpaceDef.DistributionPolicy>
Enum Constant and Description |
---|
ADDRESSED
Deprecated.
|
DISTRIBUTED
Storage of the entries is distributed amongst seeder Members of the space.
|
NON_DISTRIBUTED
Storage of all of the entries is assigned to a single seeder Member of the Space (other seeders may still replicate entries).
|
Modifier and Type | Method and Description |
---|---|
int |
getValue() |
static SpaceDef.DistributionPolicy |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SpaceDef.DistributionPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SpaceDef.DistributionPolicy NON_DISTRIBUTED
public static final SpaceDef.DistributionPolicy DISTRIBUTED
@Deprecated public static final SpaceDef.DistributionPolicy ADDRESSED
public static SpaceDef.DistributionPolicy[] values()
for (SpaceDef.DistributionPolicy c : SpaceDef.DistributionPolicy.values()) System.out.println(c);
public static SpaceDef.DistributionPolicy 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.