Package org.opensearch.index.stats
Class ShardIndexingPressureStats
java.lang.Object
org.opensearch.index.stats.ShardIndexingPressureStats
- All Implemented Interfaces:
Writeable
,org.opensearch.common.xcontent.ToXContent
,org.opensearch.common.xcontent.ToXContentFragment
public class ShardIndexingPressureStats extends java.lang.Object implements Writeable, org.opensearch.common.xcontent.ToXContentFragment
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.opensearch.common.xcontent.ToXContent
org.opensearch.common.xcontent.ToXContent.DelegatingMapParams, org.opensearch.common.xcontent.ToXContent.MapParams, org.opensearch.common.xcontent.ToXContent.Params
Nested classes/interfaces inherited from interface org.opensearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V>
-
Field Summary
-
Constructor Summary
Constructors Constructor Description ShardIndexingPressureStats(java.util.Map<ShardId,IndexingPressurePerShardStats> shardIndexingPressureStore, long totalNodeLimitsBreachedRejections, long totalLastSuccessfulRequestLimitsBreachedRejections, long totalThroughputDegradationLimitsBreachedRejections, boolean shardIndexingPressureEnabled, boolean shardIndexingPressureEnforced)
ShardIndexingPressureStats(StreamInput in)
-
Method Summary
Modifier and Type Method Description void
addAll(ShardIndexingPressureStats shardIndexingPressureStats)
IndexingPressurePerShardStats
getIndexingPressureShardStats(ShardId shardId)
org.opensearch.common.xcontent.XContentBuilder
toXContent(org.opensearch.common.xcontent.XContentBuilder builder, org.opensearch.common.xcontent.ToXContent.Params params)
void
writeTo(StreamOutput out)
Write this into the StreamOutput.
-
Constructor Details
-
ShardIndexingPressureStats
- Throws:
java.io.IOException
-
ShardIndexingPressureStats
public ShardIndexingPressureStats(java.util.Map<ShardId,IndexingPressurePerShardStats> shardIndexingPressureStore, long totalNodeLimitsBreachedRejections, long totalLastSuccessfulRequestLimitsBreachedRejections, long totalThroughputDegradationLimitsBreachedRejections, boolean shardIndexingPressureEnabled, boolean shardIndexingPressureEnforced)
-
-
Method Details
-
writeTo
Description copied from interface:Writeable
Write this into the StreamOutput. -
getIndexingPressureShardStats
-
toXContent
public org.opensearch.common.xcontent.XContentBuilder toXContent(org.opensearch.common.xcontent.XContentBuilder builder, org.opensearch.common.xcontent.ToXContent.Params params) throws java.io.IOException- Specified by:
toXContent
in interfaceorg.opensearch.common.xcontent.ToXContent
- Throws:
java.io.IOException
-
addAll
-