|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Batch
A batch represents a number of jobs which execute a number of commands asynchronously.
Batches have three types of jobs:
All three job types have independent job definitions. They can be controlled individually (e.g. suspension) and are independently represented in the historic job log.
Field Summary | |
---|---|
static String |
TYPE_HISTORIC_DECISION_INSTANCE_DELETION
|
static String |
TYPE_HISTORIC_PROCESS_INSTANCE_DELETION
|
static String |
TYPE_PROCESS_INSTANCE_DELETION
|
static String |
TYPE_PROCESS_INSTANCE_MIGRATION
|
static String |
TYPE_PROCESS_INSTANCE_MODIFICATION
|
static String |
TYPE_PROCESS_INSTANCE_RESTART
|
static String |
TYPE_PROCESS_INSTANCE_UPDATE_SUSPENSION_STATE
|
static String |
TYPE_SET_EXTERNAL_TASK_RETRIES
|
static String |
TYPE_SET_JOB_RETRIES
|
Method Summary | |
---|---|
String |
getBatchJobDefinitionId()
|
int |
getBatchJobsPerSeed()
|
String |
getId()
|
int |
getInvocationsPerBatchJob()
|
int |
getJobsCreated()
|
String |
getMonitorJobDefinitionId()
|
String |
getSeedJobDefinitionId()
|
String |
getTenantId()
|
int |
getTotalJobs()
|
String |
getType()
|
boolean |
isSuspended()
Indicates whether this batch is suspended. |
Field Detail |
---|
static final String TYPE_PROCESS_INSTANCE_MIGRATION
static final String TYPE_PROCESS_INSTANCE_MODIFICATION
static final String TYPE_PROCESS_INSTANCE_RESTART
static final String TYPE_PROCESS_INSTANCE_DELETION
static final String TYPE_PROCESS_INSTANCE_UPDATE_SUSPENSION_STATE
static final String TYPE_HISTORIC_PROCESS_INSTANCE_DELETION
static final String TYPE_HISTORIC_DECISION_INSTANCE_DELETION
static final String TYPE_SET_JOB_RETRIES
static final String TYPE_SET_EXTERNAL_TASK_RETRIES
Method Detail |
---|
String getId()
String getType()
int getTotalJobs()
int getJobsCreated()
int getBatchJobsPerSeed()
int getInvocationsPerBatchJob()
String getSeedJobDefinitionId()
String getMonitorJobDefinitionId()
String getBatchJobDefinitionId()
String getTenantId()
boolean isSuspended()
Indicates whether this batch is suspended. If a batch is suspended, the batch jobs will not be acquired by the job executor.
Note: It is still possible to manually suspend and activate
jobs and job definitions using the ManagementService
, which will
not change the suspension state of the batch.
ManagementService.suspendBatchById(String)
,
ManagementService.activateBatchById(String)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |