@Experimental public abstract class ProfilingPlugin extends Object implements MulePlugin, DeploymentListenerProvider
ProfilingDataConsumer can be registered through a server plugin. The declared data
consumers will be discovered and registered by the runtime, and will consume data from all the deployed artifacts, including
the ones deployed after its registration.| Constructor and Description |
|---|
ProfilingPlugin() |
| Modifier and Type | Method and Description |
|---|---|
void |
dispose() |
org.mule.runtime.module.deployment.api.DeploymentListener |
getDeploymentListener() |
abstract Set<org.mule.runtime.api.profiling.ProfilingDataConsumer<?>> |
getProfilingDataConsumers()
Declares the set of
ProfilingDataConsumer that will be registered by the runtime. |
void |
initialise() |
boolean |
isDisabledOnEnvironment()
Indicates when a plugin is disabled in the current execution environment to avoid being started.
|
void |
setWorkingDirectory(File directory)
Sets working directory for the plugin
|
void |
start() |
void |
stop() |
public abstract Set<org.mule.runtime.api.profiling.ProfilingDataConsumer<?>> getProfilingDataConsumers()
ProfilingDataConsumer that will be registered by the runtime.ProfilingDataConsumerpublic void setWorkingDirectory(File directory)
MulePluginsetWorkingDirectory in interface MulePlugindirectory - working directory no shared with other plugins. Not Null.public boolean isDisabledOnEnvironment()
MulePluginisDisabledOnEnvironment in interface MulePluginpublic org.mule.runtime.module.deployment.api.DeploymentListener getDeploymentListener()
getDeploymentListener in interface DeploymentListenerProviderpublic void initialise()
throws org.mule.runtime.api.lifecycle.InitialisationException
initialise in interface org.mule.runtime.api.lifecycle.Initialisableorg.mule.runtime.api.lifecycle.InitialisationExceptionpublic void dispose()
dispose in interface org.mule.runtime.api.lifecycle.Disposablepublic void start()
throws org.mule.runtime.api.exception.MuleException
start in interface org.mule.runtime.api.lifecycle.Startableorg.mule.runtime.api.exception.MuleExceptionpublic void stop()
throws org.mule.runtime.api.exception.MuleException
stop in interface org.mule.runtime.api.lifecycle.Stoppableorg.mule.runtime.api.exception.MuleExceptionCopyright © 2006–2022 MuleSoft, Inc.. All rights reserved.