Class ShardMovementWriteLoadSimulator

java.lang.Object
org.elasticsearch.cluster.routing.ShardMovementWriteLoadSimulator

public class ShardMovementWriteLoadSimulator extends Object
Simulates the impact to each node's write-load in response to the movement of individual shards around the cluster.
  • Constructor Details

    • ShardMovementWriteLoadSimulator

      public ShardMovementWriteLoadSimulator(RoutingAllocation routingAllocation)
  • Method Details

    • simulateShardStarted

      public void simulateShardStarted(ShardRouting shardRouting)
    • simulatedNodeUsageStatsForThreadPools

      public Map<String,NodeUsageStatsForThreadPools> simulatedNodeUsageStatsForThreadPools()
      Apply the simulated shard movements to the original thread pool usage stats for each node.