primary
public final boolean primary()
Required - API name:
primary
JsonpSerializable
@JsonpDeserializable public class AllocationExplainResponse extends java.lang.Object implements JsonpSerializable
Modifier and Type | Class | Description |
---|---|---|
static class |
AllocationExplainResponse.Builder |
Builder for
AllocationExplainResponse . |
Modifier and Type | Field | Description |
---|---|---|
static JsonpDeserializer<AllocationExplainResponse> |
_DESERIALIZER |
Json deserializer for
AllocationExplainResponse |
Modifier and Type | Method | Description |
---|---|---|
java.lang.String |
allocateExplanation() |
API name:
allocate_explanation |
java.lang.String |
allocationDelay() |
API name:
allocation_delay |
java.lang.Long |
allocationDelayInMillis() |
API name:
allocation_delay_in_millis |
Decision |
canAllocate() |
API name:
can_allocate |
Decision |
canMoveToOtherNode() |
API name:
can_move_to_other_node |
Decision |
canRebalanceCluster() |
API name:
can_rebalance_cluster |
java.util.List<AllocationDecision> |
canRebalanceClusterDecisions() |
API name:
can_rebalance_cluster_decisions |
Decision |
canRebalanceToOtherNode() |
API name:
can_rebalance_to_other_node |
java.util.List<AllocationDecision> |
canRemainDecisions() |
API name:
can_remain_decisions |
Decision |
canRemainOnCurrentNode() |
API name:
can_remain_on_current_node |
ClusterInfo |
clusterInfo() |
API name:
cluster_info |
java.lang.String |
configuredDelay() |
API name:
configured_delay |
java.lang.Long |
configuredDelayInMillis() |
API name:
configured_delay_in_millis |
CurrentNode |
currentNode() |
API name:
current_node |
java.lang.String |
currentState() |
Required - API name:
current_state |
java.lang.String |
index() |
Required - API name:
index |
java.lang.String |
moveExplanation() |
API name:
move_explanation |
java.util.List<NodeAllocationExplanation> |
nodeAllocationDecisions() |
API name:
node_allocation_decisions |
java.lang.String |
note() |
API name:
note |
static AllocationExplainResponse |
of(java.util.function.Function<AllocationExplainResponse.Builder,ObjectBuilder<AllocationExplainResponse>> fn) |
|
boolean |
primary() |
Required - API name:
primary |
java.lang.String |
rebalanceExplanation() |
API name:
rebalance_explanation |
java.lang.String |
remainingDelay() |
API name:
remaining_delay |
java.lang.Long |
remainingDelayInMillis() |
API name:
remaining_delay_in_millis |
void |
serialize(jakarta.json.stream.JsonGenerator generator,
JsonpMapper mapper) |
Serialize this object to JSON.
|
protected void |
serializeInternal(jakarta.json.stream.JsonGenerator generator,
JsonpMapper mapper) |
|
protected static void |
setupAllocationExplainResponseDeserializer(ObjectDeserializer<AllocationExplainResponse.Builder> op) |
|
int |
shard() |
Required - API name:
shard |
java.lang.String |
toString() |
|
UnassignedInformation |
unassignedInfo() |
API name:
unassigned_info |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
AllocationExplainResponse
allocate_explanation
allocation_delay
allocation_delay_in_millis
can_allocate
can_move_to_other_node
can_rebalance_cluster
can_rebalance_cluster_decisions
can_rebalance_to_other_node
can_remain_decisions
can_remain_on_current_node
cluster_info
configured_delay
configured_delay_in_millis
current_node
current_state
index
move_explanation
node_allocation_decisions
primary
rebalance_explanation
remaining_delay
remaining_delay_in_millis
shard
unassigned_info
note
serialize
in interface JsonpSerializable
toString
in class java.lang.Object