public interface IBatchService
| Modifier and Type | Field and Description |
|---|---|
static String |
MBEAN_NAME
MBean name.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addBatch(AbstractBatch b)
Register a batch
|
<B extends AbstractBatch> |
getBatchInstances(Class<B> clazz)
Get current instances of a given batch type
|
void |
removeBatch(AbstractBatch b)
Unregister the batch
|
void |
startBatchImmediatly(String batchId,
Map<String,Object> parameters)
Fire a batch immediatly with specific parameters
|
static final String MBEAN_NAME
void addBatch(AbstractBatch b) throws ParseException, PortalException
b - the batchParseExceptionPortalExceptionvoid removeBatch(AbstractBatch b)
b - void startBatchImmediatly(String batchId, Map<String,Object> parameters) throws PortalException
batchId - parameters - PortalException<B extends AbstractBatch> List<B> getBatchInstances(Class<B> clazz)
clazz - Copyright © 2021. All rights reserved.