public interface ReservoirFactory
DropwizardMetricServices
to create a
custom Reservoir
.Modifier and Type | Field and Description |
---|---|
static ReservoirFactory |
NONE
Default empty
ReservoirFactory implementation. |
Modifier and Type | Method and Description |
---|---|
com.codahale.metrics.Reservoir |
getReservoir(String name)
Return the
Reservoir instance to use or null if a custom reservoir
is not needed. |
static final ReservoirFactory NONE
ReservoirFactory
implementation.com.codahale.metrics.Reservoir getReservoir(String name)
Reservoir
instance to use or null
if a custom reservoir
is not needed.name
- the name of the metricnull
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.