Module org.elasticsearch.server
Package org.elasticsearch.index.store
Interface DirectoryMetrics.PluggableMetrics<T extends DirectoryMetrics.PluggableMetrics<T>>
- All Superinterfaces:
ToXContent,ToXContentObject
- All Known Implementing Classes:
StoreMetrics
- Enclosing class:
DirectoryMetrics
public static interface DirectoryMetrics.PluggableMetrics<T extends DirectoryMetrics.PluggableMetrics<T>>
extends ToXContentObject
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.xcontent.ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params -
Field Summary
Fields inherited from interface org.elasticsearch.xcontent.ToXContent
EMPTY, EMPTY_PARAMS -
Method Summary
Methods inherited from interface org.elasticsearch.xcontent.ToXContent
toXContentMethods inherited from interface org.elasticsearch.xcontent.ToXContentObject
isFragment
-
Method Details
-
delta
A delta object that measures the delta of the metric between invoking the delta method and the returned supplier.- Returns:
- supplier of the delta.
-
copy
T copy()- Returns:
- copy of the metric object
-
cast
Convenience method to cast to the class specified.- Parameters:
clazz- class to cast to.- Returns:
- object as clazz
-