Package org.apache.batchee.jmx
Class BatchEEMBeanImpl
- java.lang.Object
-
- org.apache.batchee.jmx.BatchEEMBeanImpl
-
- All Implemented Interfaces:
BatchEEMBean
public class BatchEEMBeanImpl extends Object implements BatchEEMBean
-
-
Field Summary
Fields Modifier and Type Field Description static BatchEEMBeanImpl
INSTANCE
-
Fields inherited from interface org.apache.batchee.jmx.BatchEEMBean
DEFAULT_OBJECT_NAME
-
-
Constructor Summary
Constructors Constructor Description BatchEEMBeanImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
abandon(long executionId)
TabularData
getJobExecution(long executionId)
TabularData
getJobExecutions(long id, String name)
TabularData
getJobInstance(long executionId)
int
getJobInstanceCount(String jobName)
TabularData
getJobInstances(String jobName, int start, int count)
String[]
getJobNames()
TabularData
getParameters(long executionId)
Long[]
getRunningExecutions(String jobName)
TabularData
getStepExecutions(long jobExecutionId)
long
restart(long executionId, String restartParameters)
long
start(String jobXMLName, String jobParameters)
void
stop(long executionId)
-
-
-
Field Detail
-
INSTANCE
public static final BatchEEMBeanImpl INSTANCE
-
-
Method Detail
-
getJobNames
public String[] getJobNames()
- Specified by:
getJobNames
in interfaceBatchEEMBean
-
getJobInstanceCount
public int getJobInstanceCount(String jobName)
- Specified by:
getJobInstanceCount
in interfaceBatchEEMBean
-
getJobInstances
public TabularData getJobInstances(String jobName, int start, int count)
- Specified by:
getJobInstances
in interfaceBatchEEMBean
-
getRunningExecutions
public Long[] getRunningExecutions(String jobName)
- Specified by:
getRunningExecutions
in interfaceBatchEEMBean
-
getParameters
public TabularData getParameters(long executionId)
- Specified by:
getParameters
in interfaceBatchEEMBean
-
getJobInstance
public TabularData getJobInstance(long executionId)
- Specified by:
getJobInstance
in interfaceBatchEEMBean
-
stop
public void stop(long executionId)
- Specified by:
stop
in interfaceBatchEEMBean
-
abandon
public void abandon(long executionId)
- Specified by:
abandon
in interfaceBatchEEMBean
-
start
public long start(String jobXMLName, String jobParameters)
- Specified by:
start
in interfaceBatchEEMBean
-
restart
public long restart(long executionId, String restartParameters)
- Specified by:
restart
in interfaceBatchEEMBean
-
getJobExecutions
public TabularData getJobExecutions(long id, String name)
- Specified by:
getJobExecutions
in interfaceBatchEEMBean
-
getJobExecution
public TabularData getJobExecution(long executionId)
- Specified by:
getJobExecution
in interfaceBatchEEMBean
-
getStepExecutions
public TabularData getStepExecutions(long jobExecutionId)
- Specified by:
getStepExecutions
in interfaceBatchEEMBean
-
-