public class JmxManagedProcessEngine extends Object implements PlatformService<ProcessEngine>, JmxManagedProcessEngineMBean
Represents a process engine managed by the MBeanServiceContainer
Modifier and Type | Field and Description |
---|---|
protected ProcessEngine |
processEngine |
Modifier | Constructor and Description |
---|---|
protected |
JmxManagedProcessEngine() |
|
JmxManagedProcessEngine(ProcessEngine processEngine) |
Modifier and Type | Method and Description |
---|---|
String |
getName() |
ProcessEngine |
getProcessEngine() |
Set<String> |
getRegisteredDeployments()
If the engine's job executor is deloyment aware, these are the deployments it
acquires jobs for.
|
ProcessEngine |
getValue() |
void |
registerDeployment(String deploymentId) |
void |
reportDbMetrics() |
void |
start(PlatformServiceContainer contanier) |
void |
stop(PlatformServiceContainer container) |
void |
unregisterDeployment(String deploymentId) |
protected ProcessEngine processEngine
protected JmxManagedProcessEngine()
public JmxManagedProcessEngine(ProcessEngine processEngine)
public void start(PlatformServiceContainer contanier)
start
in interface PlatformService<ProcessEngine>
public void stop(PlatformServiceContainer container)
stop
in interface PlatformService<ProcessEngine>
public String getName()
getName
in interface JmxManagedProcessEngineMBean
ProcessEngine
public ProcessEngine getProcessEngine()
public ProcessEngine getValue()
getValue
in interface PlatformService<ProcessEngine>
public Set<String> getRegisteredDeployments()
JmxManagedProcessEngineMBean
getRegisteredDeployments
in interface JmxManagedProcessEngineMBean
ProcessEngine
public void registerDeployment(String deploymentId)
registerDeployment
in interface JmxManagedProcessEngineMBean
public void unregisterDeployment(String deploymentId)
unregisterDeployment
in interface JmxManagedProcessEngineMBean
public void reportDbMetrics()
reportDbMetrics
in interface JmxManagedProcessEngineMBean
Copyright © 2017. All rights reserved.