|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.netflix.servo.publish.PollCallable
public final class PollCallable
Callable implementation that invokes the MetricPoller.poll(com.netflix.servo.publish.MetricFilter)
method.
Constructor Summary | |
---|---|
PollCallable(MetricPoller poller,
MetricFilter filter)
Creates a new instance. |
|
PollCallable(MetricPoller poller,
MetricFilter filter,
boolean reset)
Creates a new instance. |
Method Summary | |
---|---|
java.util.List<Metric> |
call()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PollCallable(MetricPoller poller, MetricFilter filter)
poller
- poller to invokefilter
- filter to pass into the pollerpublic PollCallable(MetricPoller poller, MetricFilter filter, boolean reset)
poller
- poller to invokefilter
- filter to pass into the pollerreset
- reset flag to pass into the pollerMethod Detail |
---|
public java.util.List<Metric> call()
call
in interface java.util.concurrent.Callable<java.util.List<Metric>>
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |