| Package | Description |
|---|---|
| org.elasticsearch.cluster | |
| org.elasticsearch.cluster.routing.allocation.decider |
| Modifier and Type | Method and Description |
|---|---|
Map<String,DiskUsage> |
ClusterInfo.getNodeDiskUsages() |
| Constructor and Description |
|---|
ClusterInfo(com.google.common.collect.ImmutableMap<String,DiskUsage> usages,
com.google.common.collect.ImmutableMap<String,Long> shardSizes) |
| Modifier and Type | Method and Description |
|---|---|
DiskUsage |
DiskThresholdDecider.averageUsage(RoutingNode node,
Map<String,DiskUsage> usages)
Returns a
DiskUsage for the RoutingNode using the
average usage of other nodes in the disk usage map. |
| Modifier and Type | Method and Description |
|---|---|
double |
DiskThresholdDecider.freeDiskPercentageAfterShardAssigned(DiskUsage usage,
Long shardSize)
Given the DiskUsage for a node and the size of the shard, return the
percentage of free disk if the shard were to be allocated to the node.
|
| Modifier and Type | Method and Description |
|---|---|
DiskUsage |
DiskThresholdDecider.averageUsage(RoutingNode node,
Map<String,DiskUsage> usages)
Returns a
DiskUsage for the RoutingNode using the
average usage of other nodes in the disk usage map. |
Copyright © 2009–2016. All rights reserved.