public interface PropagationTaskExecutor
PropagationTaskTO
Modifier and Type | Field and Description |
---|---|
static String |
MANDATORY_MISSING_ATTR_NAME
Name for special propagation attribute used to indicate whether there are attributes, marked as mandatory in the
mapping but not to be propagated.
|
static String |
MANDATORY_NULL_OR_EMPTY_ATTR_NAME
Name for special propagation attribute used to indicate whether there are attributes, marked as mandatory in the
mapping but about to be propagated as null or empty.
|
Modifier and Type | Method and Description |
---|---|
PropagationReporter |
execute(Collection<PropagationTaskInfo> taskInfos,
boolean nullPriorityAsync)
Execute the given collection of tasks.
|
TaskExec |
execute(PropagationTaskInfo taskInfo,
PropagationReporter reporter)
Execute the given task and returns the generated
TaskExec . |
void |
expireRetryTemplate(String resource)
Remove any RetryTemplate defined for the given External Resource from local cache.
|
static final String MANDATORY_MISSING_ATTR_NAME
static final String MANDATORY_NULL_OR_EMPTY_ATTR_NAME
void expireRetryTemplate(String resource)
resource
- External Resource nameTaskExec execute(PropagationTaskInfo taskInfo, PropagationReporter reporter)
TaskExec
.taskInfo
- to be executedreporter
- to report propagation execution statusPropagationReporter execute(Collection<PropagationTaskInfo> taskInfos, boolean nullPriorityAsync)
taskInfos
- to be execute, in given ordernullPriorityAsync
- asynchronously executes tasks related to resources with no priorityCopyright © 2010–2023 The Apache Software Foundation. All rights reserved.