Class JmxManagedJobExecutor
java.lang.Object
org.camunda.bpm.container.impl.jmx.services.JmxManagedJobExecutor
- All Implemented Interfaces:
JmxManagedJobExecutorMBean
,PlatformService<JobExecutor>
public class JmxManagedJobExecutor
extends Object
implements PlatformService<JobExecutor>, JmxManagedJobExecutorMBean
- Author:
- Daniel Meyer
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
int
getName()
getValue()
int
boolean
isActive()
void
setLockOwner
(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 Details
-
jobExecutor
-
-
Constructor Details
-
JmxManagedJobExecutor
-
-
Method Details
-
start
- Specified by:
start
in interfacePlatformService<JobExecutor>
-
stop
- 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
- Specified by:
getLockOwner
in interfaceJmxManagedJobExecutorMBean
-
setLockOwner
- 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
- Specified by:
getName
in interfaceJmxManagedJobExecutorMBean
-
getValue
- Specified by:
getValue
in interfacePlatformService<JobExecutor>
-
isActive
public boolean isActive()- Specified by:
isActive
in interfaceJmxManagedJobExecutorMBean
-