Module org.elasticsearch.xcore
Class SearchableSnapshotShardStats.TimedCounter
java.lang.Object
org.elasticsearch.xpack.core.searchablesnapshots.SearchableSnapshotShardStats.Counter
org.elasticsearch.xpack.core.searchablesnapshots.SearchableSnapshotShardStats.TimedCounter
- All Implemented Interfaces:
Writeable,org.elasticsearch.xcontent.ToXContent,org.elasticsearch.xcontent.ToXContentObject
- Enclosing class:
SearchableSnapshotShardStats
public static class SearchableSnapshotShardStats.TimedCounter
extends SearchableSnapshotShardStats.Counter
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.xcontent.ToXContent
org.elasticsearch.xcontent.ToXContent.DelegatingMapParams, org.elasticsearch.xcontent.ToXContent.MapParams, org.elasticsearch.xcontent.ToXContent.ParamsNested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V> -
Field Summary
Fields inherited from class org.elasticsearch.xpack.core.searchablesnapshots.SearchableSnapshotShardStats.Counter
count, max, min, totalFields inherited from interface org.elasticsearch.xcontent.ToXContent
EMPTY, EMPTY_PARAMS -
Constructor Summary
ConstructorsConstructorDescriptionTimedCounter(long count, long total, long min, long max, long totalNanoseconds) -
Method Summary
Methods inherited from class org.elasticsearch.xpack.core.searchablesnapshots.SearchableSnapshotShardStats.Counter
add, getCount, getMax, getMin, getTotal, toXContentMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.elasticsearch.xcontent.ToXContentObject
isFragment
-
Constructor Details
-
TimedCounter
public TimedCounter(long count, long total, long min, long max, long totalNanoseconds)
-
-
Method Details
-
add
public SearchableSnapshotShardStats.TimedCounter add(SearchableSnapshotShardStats.TimedCounter counter) -
writeTo
- Specified by:
writeToin interfaceWriteable- Overrides:
writeToin classSearchableSnapshotShardStats.Counter- Throws:
IOException
-
equals
- Overrides:
equalsin classSearchableSnapshotShardStats.Counter
-
hashCode
public int hashCode()- Overrides:
hashCodein classSearchableSnapshotShardStats.Counter
-