java.lang.Object
org.elasticsearch.cluster.ClusterInfo.Builder
- Enclosing class:
ClusterInfo
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()dataPath(Map<ClusterInfo.NodeAndShard, String> dataPath) estimatedHeapUsages(Map<String, EstimatedHeapUsage> estimatedHeapUsages) leastAvailableSpaceUsage(Map<String, DiskUsage> leastAvailableSpaceUsage) mostAvailableSpaceUsage(Map<String, DiskUsage> mostAvailableSpaceUsage) nodeUsageStatsForThreadPools(Map<String, NodeUsageStatsForThreadPools> nodeUsageStatsForThreadPools) reservedSpace(Map<ClusterInfo.NodeAndPath, ClusterInfo.ReservedSpace> reservedSpace) shardDataSetSizes(Map<ShardId, Long> shardDataSetSizes) shardSizes(Map<String, Long> shardSizes) shardWriteLoads(Map<ShardId, Double> shardWriteLoads)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
-
leastAvailableSpaceUsage
-
mostAvailableSpaceUsage
-
shardSizes
-
shardDataSetSizes
-
dataPath
-
reservedSpace
public ClusterInfo.Builder reservedSpace(Map<ClusterInfo.NodeAndPath, ClusterInfo.ReservedSpace> reservedSpace) -
estimatedHeapUsages
-
nodeUsageStatsForThreadPools
public ClusterInfo.Builder nodeUsageStatsForThreadPools(Map<String, NodeUsageStatsForThreadPools> nodeUsageStatsForThreadPools) -
shardWriteLoads
-