org.camunda.bpm.engine.batch
Interface Batch

All Known Subinterfaces:
BatchStatistics
All Known Implementing Classes:
BatchEntity, BatchStatisticsEntity

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_PROCESS_INSTANCE_MIGRATION
           
 
Method Summary
 String getBatchJobDefinitionId()
           
 int getBatchJobsPerSeed()
           
 String getId()
           
 int getInvocationsPerBatchJob()
           
 int getJobsCreated()
           
 String getMonitorJobDefinitionId()
           
 String getSeedJobDefinitionId()
           
 String getTenantId()
           
 int getTotalJobs()
           
 String getType()
           
 

Field Detail

TYPE_PROCESS_INSTANCE_MIGRATION

static final String TYPE_PROCESS_INSTANCE_MIGRATION
See Also:
Constant Field Values
Method Detail

getId

String getId()
Returns:
the id of the batch

getType

String getType()
Returns:
the type of the batch

getTotalJobs

int getTotalJobs()
Returns:
the number of batch execution jobs required to complete the batch

getJobsCreated

int getJobsCreated()
Returns:
the number of batch execution jobs already created by the seed job

getBatchJobsPerSeed

int getBatchJobsPerSeed()
Returns:
number of batch jobs created per batch seed job invocation

getInvocationsPerBatchJob

int getInvocationsPerBatchJob()
Returns:
the number of invocations executed per batch job

getSeedJobDefinitionId

String getSeedJobDefinitionId()
Returns:
the id of the batch seed job definition

getMonitorJobDefinitionId

String getMonitorJobDefinitionId()
Returns:
the id of the batch monitor job definition

getBatchJobDefinitionId

String getBatchJobDefinitionId()
Returns:
the id of the batch job definition

getTenantId

String getTenantId()
Returns:
the batch's tenant id or null


Copyright © 2016 camunda services GmbH. All rights reserved.