public class JMXAdaptor extends AbstractAdaptor
| Modifier and Type | Class and Description | 
|---|---|
| class  | JMXAdaptor.JMXConnectA thread which creates a new connection to JMX and retries every 10s if the connection is not  
 successful. | 
| class  | JMXAdaptor.JMXTimerA TimerTask which queries the mbean server for all mbeans that match the pattern specified in
 the JMXAdaptor arguments, constructs a json object of all data and sends it as a chunk. | 
adaptorID, control, dest, type| Constructor and Description | 
|---|
| JMXAdaptor() | 
| Modifier and Type | Method and Description | 
|---|---|
| String | getCurrentStatus()Return the adaptor's state Should not include class name or byte
 offset, which are written by caller. | 
| String | parseArgs(String s) | 
| long | shutdown(AdaptorShutdownPolicy shutdownPolicy)Signals this adaptor to come to an orderly stop. | 
| void | start(long offset) | 
deregisterAndStop, getType, hardStop, parseArgs, shutdown, startpublic String getCurrentStatus()
Adaptorpublic long shutdown(AdaptorShutdownPolicy shutdownPolicy) throws AdaptorException
AdaptorAdaptorExceptionpublic void start(long offset)
           throws AdaptorException
start in class AbstractAdaptorAdaptorExceptionpublic String parseArgs(String s)
parseArgs in class AbstractAdaptorCopyright © 2014 Apache Software Foundation. All Rights Reserved.