public static enum SdcSchemaBuilder.ReplicationStrategy extends Enum<SdcSchemaBuilder.ReplicationStrategy>
Enum Constant and Description |
---|
NETWORK_TOPOLOGY_STRATEGY |
SIMPLE_STRATEGY |
Modifier and Type | Method and Description |
---|---|
String |
getName() |
static SdcSchemaBuilder.ReplicationStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SdcSchemaBuilder.ReplicationStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SdcSchemaBuilder.ReplicationStrategy NETWORK_TOPOLOGY_STRATEGY
public static final SdcSchemaBuilder.ReplicationStrategy SIMPLE_STRATEGY
public String name
public static SdcSchemaBuilder.ReplicationStrategy[] values()
for (SdcSchemaBuilder.ReplicationStrategy c : SdcSchemaBuilder.ReplicationStrategy.values()) System.out.println(c);
public static SdcSchemaBuilder.ReplicationStrategy 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 nullpublic String getName()
Copyright © 2017. All rights reserved.