Class JmxManagedJobExecutor
- java.lang.Object
-
- org.camunda.bpm.container.impl.jmx.services.JmxManagedJobExecutor
-
- All Implemented Interfaces:
JmxManagedJobExecutorMBean
,PlatformService<JobExecutor>
public class JmxManagedJobExecutor extends java.lang.Object implements PlatformService<JobExecutor>, JmxManagedJobExecutorMBean
- Author:
- Daniel Meyer
-
-
Field Summary
Fields Modifier and Type Field Description protected JobExecutor
jobExecutor
-
Constructor Summary
Constructors Constructor Description JmxManagedJobExecutor(JobExecutor jobExecutor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getLockOwner()
int
getLockTimeInMillis()
int
getMaxJobsPerAcquisition()
java.lang.String
getName()
JobExecutor
getValue()
int
getWaitTimeInMillis()
boolean
isActive()
void
setLockOwner(java.lang.String lockOwner)
void
setLockTimeInMillis(int lockTimeInMillis)
void
setMaxJobsPerAcquisition(int maxJobsPerAcquisition)
void
setWaitTimeInMillis(int waitTimeInMillis)
void
shutdown()
void
start()
void
start(PlatformServiceContainer mBeanServiceContainer)
void
stop(PlatformServiceContainer mBeanServiceContainer)
-
-
-
Field Detail
-
jobExecutor
protected final JobExecutor jobExecutor
-
-
Constructor Detail
-
JmxManagedJobExecutor
public JmxManagedJobExecutor(JobExecutor jobExecutor)
-
-
Method Detail
-
start
public void start(PlatformServiceContainer mBeanServiceContainer)
- Specified by:
start
in interfacePlatformService<JobExecutor>
-
stop
public void stop(PlatformServiceContainer mBeanServiceContainer)
- Specified by:
stop
in interfacePlatformService<JobExecutor>
-
start
public void start()
- Specified by:
start
in interfaceJmxManagedJobExecutorMBean
-
shutdown
public void shutdown()
- Specified by:
shutdown
in interfaceJmxManagedJobExecutorMBean
-
getWaitTimeInMillis
public int getWaitTimeInMillis()
- Specified by:
getWaitTimeInMillis
in interfaceJmxManagedJobExecutorMBean
-
setWaitTimeInMillis
public void setWaitTimeInMillis(int waitTimeInMillis)
- Specified by:
setWaitTimeInMillis
in interfaceJmxManagedJobExecutorMBean
-
getLockTimeInMillis
public int getLockTimeInMillis()
- Specified by:
getLockTimeInMillis
in interfaceJmxManagedJobExecutorMBean
-
setLockTimeInMillis
public void setLockTimeInMillis(int lockTimeInMillis)
- Specified by:
setLockTimeInMillis
in interfaceJmxManagedJobExecutorMBean
-
getLockOwner
public java.lang.String getLockOwner()
- Specified by:
getLockOwner
in interfaceJmxManagedJobExecutorMBean
-
setLockOwner
public void setLockOwner(java.lang.String lockOwner)
- Specified by:
setLockOwner
in interfaceJmxManagedJobExecutorMBean
-
getMaxJobsPerAcquisition
public int getMaxJobsPerAcquisition()
- Specified by:
getMaxJobsPerAcquisition
in interfaceJmxManagedJobExecutorMBean
-
setMaxJobsPerAcquisition
public void setMaxJobsPerAcquisition(int maxJobsPerAcquisition)
- Specified by:
setMaxJobsPerAcquisition
in interfaceJmxManagedJobExecutorMBean
-
getName
public java.lang.String getName()
- Specified by:
getName
in interfaceJmxManagedJobExecutorMBean
-
getValue
public JobExecutor getValue()
- Specified by:
getValue
in interfacePlatformService<JobExecutor>
-
isActive
public boolean isActive()
- Specified by:
isActive
in interfaceJmxManagedJobExecutorMBean
-
-