com.netflix.hystrix.contrib.metrics.eventstream
Class HystrixMetricsPoller

java.lang.Object
  extended by com.netflix.hystrix.contrib.metrics.eventstream.HystrixMetricsPoller

public class HystrixMetricsPoller
extends java.lang.Object

Polls Hystrix metrics and output JSON strings for each metric to a MetricsPollerListener.


Nested Class Summary
static interface HystrixMetricsPoller.MetricsAsJsonPollerListener
           
 
Constructor Summary
HystrixMetricsPoller(int delay)
           
 
Method Summary
 boolean isRunning()
           
 void start(HystrixMetricsPoller.MetricsAsJsonPollerListener listener)
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HystrixMetricsPoller

public HystrixMetricsPoller(int delay)
Method Detail

start

public void start(HystrixMetricsPoller.MetricsAsJsonPollerListener listener)

stop

public void stop()

isRunning

public boolean isRunning()