public class NoopMetricsCollector extends Object implements MetricsCollector
MetricsCollector that collects nothing.| Constructor and Description |
|---|
NoopMetricsCollector() |
| Modifier and Type | Method and Description |
|---|---|
RequestMetrics |
obtainRequestMetrics(RequestContext requestContext) |
void |
record(String cacheName,
CacheType cacheType,
MetricLabel metricLabel,
long sample) |
<V> DirectExternalCache<V> |
wrap(DirectExternalCache<V> cache) |
<K,V> JvmCache<K,V> |
wrap(JvmCache<K,V> cache) |
<T> com.atlassian.marshalling.api.MarshallingPair<T> |
wrap(com.atlassian.marshalling.api.MarshallingPair<T> marshalling,
String cacheName) |
<K,V> RequestCache<K,V> |
wrap(RequestCache<K,V> cache) |
<V> StableReadExternalCache<V> |
wrap(StableReadExternalCache<V> cache) |
<V> TransactionalExternalCache<V> |
wrap(TransactionalExternalCache<V> cache) |
TransactionControl |
wrap(TransactionControl control,
String cacheName) |
public void record(String cacheName, CacheType cacheType, MetricLabel metricLabel, long sample)
record in interface MetricsRecorderpublic RequestMetrics obtainRequestMetrics(RequestContext requestContext)
obtainRequestMetrics in interface MetricsCollectorpublic TransactionControl wrap(TransactionControl control, String cacheName)
wrap in interface Instrumentorpublic <T> com.atlassian.marshalling.api.MarshallingPair<T> wrap(com.atlassian.marshalling.api.MarshallingPair<T> marshalling,
String cacheName)
wrap in interface Instrumentorpublic <K,V> JvmCache<K,V> wrap(JvmCache<K,V> cache)
wrap in interface Instrumentorpublic <K,V> RequestCache<K,V> wrap(RequestCache<K,V> cache)
wrap in interface Instrumentorpublic <V> DirectExternalCache<V> wrap(DirectExternalCache<V> cache)
wrap in interface Instrumentorpublic <V> StableReadExternalCache<V> wrap(StableReadExternalCache<V> cache)
wrap in interface Instrumentorpublic <V> TransactionalExternalCache<V> wrap(TransactionalExternalCache<V> cache)
wrap in interface InstrumentorCopyright © 2019 Atlassian. All rights reserved.