|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.qi4j.spi.metrics.NullMetricsFactory.NullGaugeFactory
public static class NullMetricsFactory.NullGaugeFactory
Constructor Summary | |
---|---|
NullMetricsFactory.NullGaugeFactory()
|
Method Summary | ||
---|---|---|
java.lang.Iterable<Metric> |
registered()
|
|
|
registerGauge(java.lang.Class<?> origin,
java.lang.String name,
MetricsGauge<T> gauge)
Register a MetricsGauge with the underlying Metrics system. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NullMetricsFactory.NullGaugeFactory()
Method Detail |
---|
public <T> MetricsGauge<T> registerGauge(java.lang.Class<?> origin, java.lang.String name, MetricsGauge<T> gauge)
MetricsGaugeFactory
registerGauge
in interface MetricsGaugeFactory
T
- Any type holding the MetricsGauge's current value.origin
- The class where the MetricsGauge is created.name
- A human readable, short name of the metric.gauge
- The implementation of the MetricsGauge.
public java.lang.Iterable<Metric> registered()
registered
in interface MetricsFactory
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |