public class AsyncContinuationJobHandler extends Object implements JobHandler<AsyncContinuationJobHandler.AsyncContinuationConfiguration>
Modifier and Type | Class and Description |
---|---|
static class |
AsyncContinuationJobHandler.AsyncContinuationConfiguration |
Constructor and Description |
---|
AsyncContinuationJobHandler() |
Modifier and Type | Method and Description |
---|---|
void |
execute(AsyncContinuationJobHandler.AsyncContinuationConfiguration configuration,
ExecutionEntity execution,
CommandContext commandContext,
String tenantId) |
PvmAtomicOperation |
findMatchingAtomicOperation(String operationName) |
String |
getType() |
protected boolean |
isSupported(PvmAtomicOperation atomicOperation) |
AsyncContinuationJobHandler.AsyncContinuationConfiguration |
newConfiguration(String canonicalString) |
void |
onDelete(AsyncContinuationJobHandler.AsyncContinuationConfiguration configuration,
JobEntity jobEntity)
Clean up before job is deleted.
|
protected String[] |
tokenizeJobConfiguration(String jobConfiguration) |
public static final String TYPE
public String getType()
getType
in interface JobHandler<AsyncContinuationJobHandler.AsyncContinuationConfiguration>
public void execute(AsyncContinuationJobHandler.AsyncContinuationConfiguration configuration, ExecutionEntity execution, CommandContext commandContext, String tenantId)
execute
in interface JobHandler<AsyncContinuationJobHandler.AsyncContinuationConfiguration>
public PvmAtomicOperation findMatchingAtomicOperation(String operationName)
protected boolean isSupported(PvmAtomicOperation atomicOperation)
public AsyncContinuationJobHandler.AsyncContinuationConfiguration newConfiguration(String canonicalString)
newConfiguration
in interface JobHandler<AsyncContinuationJobHandler.AsyncContinuationConfiguration>
protected String[] tokenizeJobConfiguration(String jobConfiguration)
public void onDelete(AsyncContinuationJobHandler.AsyncContinuationConfiguration configuration, JobEntity jobEntity)
JobHandler
onDelete
in interface JobHandler<AsyncContinuationJobHandler.AsyncContinuationConfiguration>
configuration
- the job handler configurationjobEntity
- the job entity to be deletedCopyright © 2022. All rights reserved.