public class JmxManagedJobExecutor extends Object implements MBeanService<JobExecutor>, JmxManagedJobExecutorMBean
Modifier and Type | Field and Description |
---|---|
protected JobExecutor |
jobExecutor |
Constructor and Description |
---|
JmxManagedJobExecutor(JobExecutor jobExecutor) |
Modifier and Type | Method and Description |
---|---|
String |
getLockOwner() |
int |
getLockTimeInMillis() |
int |
getMaxJobsPerAcquisition() |
String |
getName() |
JobExecutor |
getValue() |
int |
getWaitTimeInMillis() |
void |
setLockOwner(String lockOwner) |
void |
setLockTimeInMillis(int lockTimeInMillis) |
void |
setMaxJobsPerAcquisition(int maxJobsPerAcquisition) |
void |
setWaitTimeInMillis(int waitTimeInMillis) |
void |
shutdown() |
void |
start() |
void |
start(MBeanServiceContainer mBeanServiceContainer) |
void |
stop(MBeanServiceContainer mBeanServiceContainer) |
protected final JobExecutor jobExecutor
public JmxManagedJobExecutor(JobExecutor jobExecutor)
public void start(MBeanServiceContainer mBeanServiceContainer)
start
in interface MBeanService<JobExecutor>
public void stop(MBeanServiceContainer mBeanServiceContainer)
stop
in interface MBeanService<JobExecutor>
public void start()
start
in interface JmxManagedJobExecutorMBean
public void shutdown()
shutdown
in interface JmxManagedJobExecutorMBean
public int getWaitTimeInMillis()
getWaitTimeInMillis
in interface JmxManagedJobExecutorMBean
public void setWaitTimeInMillis(int waitTimeInMillis)
setWaitTimeInMillis
in interface JmxManagedJobExecutorMBean
public int getLockTimeInMillis()
getLockTimeInMillis
in interface JmxManagedJobExecutorMBean
public void setLockTimeInMillis(int lockTimeInMillis)
setLockTimeInMillis
in interface JmxManagedJobExecutorMBean
public String getLockOwner()
getLockOwner
in interface JmxManagedJobExecutorMBean
public void setLockOwner(String lockOwner)
setLockOwner
in interface JmxManagedJobExecutorMBean
public int getMaxJobsPerAcquisition()
getMaxJobsPerAcquisition
in interface JmxManagedJobExecutorMBean
public void setMaxJobsPerAcquisition(int maxJobsPerAcquisition)
setMaxJobsPerAcquisition
in interface JmxManagedJobExecutorMBean
public String getName()
getName
in interface JmxManagedJobExecutorMBean
public JobExecutor getValue()
getValue
in interface MBeanService<JobExecutor>
Copyright © 2015. All rights reserved.