primary
public boolean primary()
Required - API name:
primaryJsonpSerializable@JsonpDeserializable public final 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 |
| Constructor | Description |
|---|---|
AllocationExplainResponse(AllocationExplainResponse.Builder builder) |
|
AllocationExplainResponse(java.util.function.Function<AllocationExplainResponse.Builder,AllocationExplainResponse.Builder> fn) |
| 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 |
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(DelegatingDeserializer<AllocationExplainResponse.Builder> op) |
|
int |
shard() |
Required - API name:
shard |
UnassignedInformation |
unassignedInfo() |
API name:
unassigned_info |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitAllocationExplainResponseallocate_explanationallocation_delayallocation_delay_in_milliscan_allocatecan_move_to_other_nodecan_rebalance_clustercan_rebalance_cluster_decisionscan_rebalance_to_other_nodecan_remain_decisionscan_remain_on_current_nodecluster_infoconfigured_delayconfigured_delay_in_milliscurrent_nodecurrent_stateindexmove_explanationnode_allocation_decisionsprimaryrebalance_explanationremaining_delayremaining_delay_in_millisshardunassigned_infonoteserialize in interface JsonpSerializable