com.netflix.servo.publish
Class PollRunnable

java.lang.Object
  extended by com.netflix.servo.publish.PollRunnable
All Implemented Interfaces:
java.lang.Runnable

public class PollRunnable
extends java.lang.Object
implements java.lang.Runnable

Runnable that will send updates to a collection of observers.


Constructor Summary
PollRunnable(MetricPoller poller, MetricFilter filter, boolean reset, java.util.Collection<MetricObserver> observers)
          Creates a new runnable instance that executes poll with the given filter and sends the metrics to all of the given observers.
PollRunnable(MetricPoller poller, MetricFilter filter, java.util.Collection<MetricObserver> observers)
          Creates a new runnable instance that executes poll with the given filter and sends the metrics to all of the given observers.
PollRunnable(MetricPoller poller, MetricFilter filter, MetricObserver... observers)
          Creates a new runnable instance that executes poll with the given filter and sends the metrics to all of the given observers.
 
Method Summary
 void run()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PollRunnable

public PollRunnable(MetricPoller poller,
                    MetricFilter filter,
                    java.util.Collection<MetricObserver> observers)
Creates a new runnable instance that executes poll with the given filter and sends the metrics to all of the given observers.


PollRunnable

public PollRunnable(MetricPoller poller,
                    MetricFilter filter,
                    boolean reset,
                    java.util.Collection<MetricObserver> observers)
Creates a new runnable instance that executes poll with the given filter and sends the metrics to all of the given observers.


PollRunnable

public PollRunnable(MetricPoller poller,
                    MetricFilter filter,
                    MetricObserver... observers)
Creates a new runnable instance that executes poll with the given filter and sends the metrics to all of the given observers.

Method Detail

run

public void run()

Specified by:
run in interface java.lang.Runnable