Module org.elasticsearch.server
Interface ExtendedSearchUsageMetric<T extends ExtendedSearchUsageMetric<T>>
- All Superinterfaces:
NamedWriteable,ToXContent,ToXContentFragment,Writeable
- All Known Implementing Classes:
ExtendedSearchUsageLongCounter
public interface ExtendedSearchUsageMetric<T extends ExtendedSearchUsageMetric<T>>
extends NamedWriteable, ToXContentFragment
Represents a metric colleged as part of
ExtendedSearchUsageStats.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.xcontent.ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsNested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V> -
Field Summary
Fields inherited from interface org.elasticsearch.xcontent.ToXContent
EMPTY, EMPTY_PARAMS -
Method Summary
Modifier and TypeMethodDescriptionmerge(ExtendedSearchUsageMetric<?> other) Merges two equivalent metrics together for statistical reporting.Methods inherited from interface org.elasticsearch.common.io.stream.NamedWriteable
getWriteableNameMethods inherited from interface org.elasticsearch.xcontent.ToXContent
toXContentMethods inherited from interface org.elasticsearch.xcontent.ToXContentFragment
isFragment
-
Method Details
-
merge
Merges two equivalent metrics together for statistical reporting.- Parameters:
other- AnotherExtendedSearchUsageMetric.- Returns:
- ExtendedSearchUsageMetric The merged metric.
-