class
MetricRegistry extends AnyRef
Instance Constructors
-
new
MetricRegistry(config: Config, clock: Clock)
Value Members
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
final
def
==(arg0: Any): Boolean
-
final
def
asInstanceOf[T0]: T0
-
def
bindScheduler(scheduler: ScheduledExecutorService): Unit
-
def
clear(): Unit
-
def
clone(): AnyRef
-
def
counter(name: String, description: Option[String], unit: Option[MeasurementUnit], autoUpdateInterval: Option[Duration]): Metric.Counter
-
final
def
eq(arg0: AnyRef): Boolean
-
def
equals(arg0: Any): Boolean
-
def
finalize(): Unit
-
def
gauge(name: String, description: Option[String], unit: Option[MeasurementUnit], autoUpdateInterval: Option[Duration]): Metric.Gauge
-
final
def
getClass(): Class[_]
-
def
hashCode(): Int
-
def
histogram(name: String, description: Option[String], unit: Option[MeasurementUnit], dynamicRange: Option[DynamicRange], autoUpdateInterval: Option[Duration]): Metric.Histogram
-
final
def
isInstanceOf[T0]: Boolean
-
final
def
ne(arg0: AnyRef): Boolean
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
def
rangeSampler(name: String, description: Option[String], unit: Option[MeasurementUnit], dynamicRange: Option[DynamicRange], autoUpdateInterval: Option[Duration]): Metric.RangeSampler
-
def
reconfigure(newConfig: Config): Unit
-
def
shutdown(): Unit
-
def
snapshot(resetState: Boolean): PeriodSnapshot
-
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
timer(name: String, description: Option[String], dynamicRange: Option[DynamicRange], autoUpdateInterval: Option[Duration]): Metric.Timer
-
def
toString(): String
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
Inherited from AnyRef
Inherited from Any
Handles creation and snapshotting of metrics. If a metric is created twice, the very same instance will be returned. If an attempt to create an existent metric with different settings is made, the new settings are ignored in favor of those of the already registered metric.