org.elasticsearch.monitor.network
Class SigarNetworkProbe

java.lang.Object
  extended by org.elasticsearch.util.component.AbstractComponent
      extended by org.elasticsearch.monitor.network.SigarNetworkProbe
All Implemented Interfaces:
NetworkProbe

public class SigarNetworkProbe
extends AbstractComponent
implements NetworkProbe


Field Summary
 
Fields inherited from class org.elasticsearch.util.component.AbstractComponent
componentSettings, logger, settings
 
Constructor Summary
SigarNetworkProbe(Settings settings, SigarService sigarService)
           
 
Method Summary
 NetworkInfo networkInfo()
           
 NetworkStats networkStats()
           
 
Methods inherited from class org.elasticsearch.util.component.AbstractComponent
nodeName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SigarNetworkProbe

@Inject
public SigarNetworkProbe(Settings settings,
                                SigarService sigarService)
Method Detail

networkInfo

public NetworkInfo networkInfo()
Specified by:
networkInfo in interface NetworkProbe

networkStats

public NetworkStats networkStats()
Specified by:
networkStats in interface NetworkProbe