public interface MetricsCollector
A generic metrics collector.
Modifier and Type | Method and Description |
---|---|
MetricsCollectorConfig |
config()
Its high-level configuration.
|
boolean |
isEnabled()
True if this collector actually emits something.
|
boolean |
shutdown()
Shuts down the collector (non-reversible) and frees bound resources.
|
void |
triggerEmit()
Triggers the immediate emission of whatever is currently collected.
|
MetricsCollectorConfig config()
Its high-level configuration.
boolean shutdown()
Shuts down the collector (non-reversible) and frees bound resources.
boolean isEnabled()
True if this collector actually emits something.
void triggerEmit()
Triggers the immediate emission of whatever is currently collected. Useful for testing.
Copyright © 2015 Couchbase, Inc.. All rights reserved.