public class JmxManagedJobExecutor extends Object implements PlatformService<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() |
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) |
protected final JobExecutor jobExecutor
public JmxManagedJobExecutor(JobExecutor jobExecutor)
public void start(PlatformServiceContainer mBeanServiceContainer)
start
in interface PlatformService<JobExecutor>
public void stop(PlatformServiceContainer mBeanServiceContainer)
stop
in interface PlatformService<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 PlatformService<JobExecutor>
public boolean isActive()
isActive
in interface JmxManagedJobExecutorMBean
Copyright © 2021. All rights reserved.