com.netflix.servo.publish
Class LocalJmxConnector

java.lang.Object
  extended by com.netflix.servo.publish.LocalJmxConnector
All Implemented Interfaces:
JmxConnector

public final class LocalJmxConnector
extends java.lang.Object
implements JmxConnector

Retrieves a connection to the local mbean server running in the same JVM.


Constructor Summary
LocalJmxConnector()
          Creates a new instance.
 
Method Summary
 javax.management.MBeanServerConnection getConnection()
          Returns a connection to an mbean server that can be used to poll metrics from JMX.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocalJmxConnector

public LocalJmxConnector()
Creates a new instance.

Method Detail

getConnection

public javax.management.MBeanServerConnection getConnection()
Returns a connection to an mbean server that can be used to poll metrics from JMX.

Specified by:
getConnection in interface JmxConnector