public class JmxTransformer extends java.lang.Object implements WatchedCallback
| Modifier and Type | Class and Description |
|---|---|
protected class |
JmxTransformer.ShutdownHook |
| Constructor and Description |
|---|
JmxTransformer(ServerScheduler serverScheduler,
JmxTransConfiguration configuration,
ConfigurationParser configurationParser,
com.google.inject.Injector injector,
ExecutorRepository queryExecutorRepository,
ExecutorRepository resultExecutorRepository,
java.util.concurrent.ScheduledExecutorService scheduledExecutor) |
| Modifier and Type | Method and Description |
|---|---|
static JmxTransformer |
create(JmxTransConfiguration configuration) |
void |
executeStandalone(JmxProcess process)
Handy method which runs the JmxProcess
|
void |
fileAdded(java.io.File file) |
void |
fileDeleted(java.io.File file) |
void |
fileModified(java.io.File file) |
static void |
main(java.lang.String[] args) |
void |
start() |
void |
stop() |
@Inject
public JmxTransformer(@Nonnull
ServerScheduler serverScheduler,
JmxTransConfiguration configuration,
ConfigurationParser configurationParser,
com.google.inject.Injector injector,
@Nonnull
ExecutorRepository queryExecutorRepository,
@Nonnull
ExecutorRepository resultExecutorRepository,
@Nonnull
java.util.concurrent.ScheduledExecutorService scheduledExecutor)
public static void main(java.lang.String[] args)
throws java.lang.Exception
java.lang.Exceptionpublic static JmxTransformer create(JmxTransConfiguration configuration) throws java.net.MalformedURLException, java.io.FileNotFoundException
java.net.MalformedURLExceptionjava.io.FileNotFoundExceptionpublic void start()
throws LifecycleException
LifecycleExceptionpublic void stop()
throws LifecycleException
LifecycleExceptionpublic void executeStandalone(JmxProcess process) throws java.lang.Exception
java.lang.Exceptionpublic void fileModified(java.io.File file)
throws java.lang.Exception
fileModified in interface WatchedCallbackjava.lang.Exceptionpublic void fileDeleted(java.io.File file)
throws java.lang.Exception
fileDeleted in interface WatchedCallbackjava.lang.Exceptionpublic void fileAdded(java.io.File file)
throws java.lang.Exception
fileAdded in interface WatchedCallbackjava.lang.ExceptionCopyright © 2010-2019 JmxTrans team. All Rights Reserved.