trait MongoMetrics extends MetricsBuilder with BaseBuilder
Builds timers and histograms to record metrics. This class uses either the MetricsBuilder specified by MongoSettings.MongoMetricsBuilderClass or if none is specified DropwizardMetrics will be used.
Linear Supertypes
Known Subclasses
Ordering
- Alphabetic
- By Inheritance
Inherited
- MongoMetrics
- BaseBuilder
- MetricsBuilder
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Abstract Value Members
- abstract def driver: MongoPersistenceDriver
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
histogram(name: String): MongoHistogram
Builds a histogram with the given name appended to BaseBuilder.metricBaseName
Builds a histogram with the given name appended to BaseBuilder.metricBaseName
- name
The name of the histogram. It will get appended to BaseBuilder.metricBaseName
- returns
the histogram.
- Definition Classes
- MongoMetrics → MetricsBuilder
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
lazy val
metricBaseName: MetricName
- Definition Classes
- BaseBuilder
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
timer(name: String): MongoTimer
Builds a timer with the given name appended to BaseBuilder.metricBaseName
Builds a timer with the given name appended to BaseBuilder.metricBaseName
- name
The name of the timer. It will get appended to BaseBuilder.metricBaseName
- returns
the timer.
- Definition Classes
- MongoMetrics → MetricsBuilder
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )