Package tigase.stats

Class JavaJMXProxyOpt

java.lang.Object
tigase.stats.JavaJMXProxyOpt
All Implemented Interfaces:
EventListener, NotificationListener

public class JavaJMXProxyOpt extends Object implements NotificationListener
Author:
Artur Hefczyc Created Jun 3, 2011
  • Constructor Details

    • JavaJMXProxyOpt

      public JavaJMXProxyOpt(String id, String hostname, int port, String userName, String password, long delay, long interval, boolean loadHistory)
  • Method Details

    • addJMXProxyListener

      public void addJMXProxyListener(JMXProxyListenerOpt listener)
    • connect

      public void connect() throws Exception
      Throws:
      Exception
    • handleNotification

      public void handleNotification(Notification notification, Object handback)
      Specified by:
      handleNotification in interface NotificationListener
    • start

      public void start()
    • update

      public void update()
    • getAllStats

      public Map<String,String> getAllStats(int level)
    • getComponentsNames

      public List<String> getComponentsNames()
    • getComponentStats

      public Map<String,String> getComponentStats(String compName, int level)
    • getHostname

      public String getHostname()
    • getId

      public String getId()
    • getMetricData

      public Object getMetricData(String key)
    • getMetricHistory

      public Object[] getMetricHistory(String key)
    • getSystemDetails

      public String getSystemDetails()
    • isConnected

      public boolean isConnected()
    • isInitialized

      public boolean isInitialized()