Package org.opensearch.index
Class IndexingPressureService
java.lang.Object
org.opensearch.index.IndexingPressureService
public class IndexingPressureService
extends java.lang.Object
Sets up classes for node/shard level indexing pressure.
Provides abstraction and orchestration for indexing pressure interfaces when called from Transport Actions or for Stats.
-
Constructor Summary
Constructors Constructor Description IndexingPressureService(Settings settings, ClusterService clusterService)
-
Method Summary
Modifier and Type Method Description Releasable
markCoordinatingOperationStarted(long bytes, boolean forceExecution)
Releasable
markCoordinatingOperationStarted(ShardId shardId, long bytes, boolean forceExecution)
Releasable
markPrimaryOperationLocalToCoordinatingNodeStarted(ShardId shardId, long bytes)
Releasable
markPrimaryOperationStarted(ShardId shardId, long bytes, boolean forceExecution)
Releasable
markReplicaOperationStarted(ShardId shardId, long bytes, boolean forceExecution)
IndexingPressureStats
nodeStats()
ShardIndexingPressureStats
shardStats(CommonStatsFlags statsFlags)
-
Constructor Details
-
Method Details
-
markCoordinatingOperationStarted
-
markCoordinatingOperationStarted
public Releasable markCoordinatingOperationStarted(ShardId shardId, long bytes, boolean forceExecution) -
markPrimaryOperationStarted
-
markPrimaryOperationLocalToCoordinatingNodeStarted
-
markReplicaOperationStarted
-
nodeStats
-
shardStats
-