trait MetricsCollector extends Closeable
Metrics sampler.
Implementations of cluster system metrics collectors extend this trait.
- Source
- MetricsCollector.scala
Linear Supertypes
Known Subclasses
Type Hierarchy
Ordering
- Alphabetic
- By Inheritance
Inherited
- MetricsCollector
- Closeable
- AutoCloseable
- AnyRef
- Any
Implicitly
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- All
Abstract Value Members
-
abstract
def
close(): Unit
- Definition Classes
- Closeable → AutoCloseable
- Annotations
- @throws( classOf[java.io.IOException] )
-
abstract
def
sample(): NodeMetrics
Samples and collects new data points.
Samples and collects new data points. This method is invoked periodically and should return current metrics for this node.