Package | Description |
---|---|
org.elasticsearch.cluster.routing.allocation.decider |
Modifier and Type | Method and Description |
---|---|
static Decision.Type |
Decision.Type.readFrom(StreamInput in) |
static Decision.Type |
Decision.Type.resolve(String s) |
abstract Decision.Type |
Decision.type()
Get the
Decision.Type of this decision |
Decision.Type |
Decision.Single.type() |
Decision.Type |
Decision.Multi.type() |
static Decision.Type |
Decision.Type.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Decision.Type[] |
Decision.Type.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static Decision |
Decision.single(Decision.Type type,
String label,
String explanation,
Object... explanationParams)
Creates a simple decision
|
static void |
Decision.Type.writeTo(Decision.Type type,
StreamOutput out) |
Constructor and Description |
---|
Single(Decision.Type type)
Creates a new
Decision.Single decision of a given type |
Single(Decision.Type type,
String label,
String explanation,
Object... explanationParams)
Creates a new
Decision.Single decision of a given type |
Copyright © 2009–2015. All rights reserved.