org.ow2.jasmine.probe.collectors.jmx.internal
Class JmxWorker

java.lang.Object
  extended by java.lang.Thread
      extended by org.ow2.jasmine.probe.collectors.jmx.internal.JmxWorker
All Implemented Interfaces:
Runnable

public class JmxWorker
extends Thread

Poll a Jmx target to get mbean attributes values.

Author:
durieuxp

Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler
 
Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
JmxWorker(org.ow2.jasmine.probe.JasmineTarget target, org.ow2.jasmine.probe.jmxconnection.JmxConnectionService jmxConnectionService)
          Constructor
 
Method Summary
 void addCollector(JmxCollector col)
          Add a new Collector
 void remove()
          remove it
 void run()
          run method for Thread implementation.
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JmxWorker

public JmxWorker(org.ow2.jasmine.probe.JasmineTarget target,
                 org.ow2.jasmine.probe.jmxconnection.JmxConnectionService jmxConnectionService)
Constructor

Method Detail

remove

public void remove()
remove it


addCollector

public void addCollector(JmxCollector col)
Add a new Collector


run

public void run()
run method for Thread implementation.

Specified by:
run in interface Runnable
Overrides:
run in class Thread


Copyright © 2011 OW2 Consortium. All Rights Reserved.