public class RuleCompilerFuture extends DefaultTaskExecutionFuture
RuleCompilerResult and wait for the
workers to join the main thread| Constructor and Description |
|---|
RuleCompilerFuture(java.util.Set<java.lang.Thread> workers,
java.lang.Long workerPreDestroyTimeout) |
| Modifier and Type | Method and Description |
|---|---|
void |
addRuleCompilerResults(java.util.List<RuleCompilerResult> ruleCompilerResults)
Adds the list of
RuleCompilerResult to this future. |
protected java.util.List<RuleCompilerResult> |
getRuleCompilerResults() |
TaskResult |
getTaskResult()
Blocks until the task execution finishes (all threads join) and returns the list of
RuleCompilerResult |
long |
getWorkerPreDestroyTimeout() |
waitForTasksToFinishclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitwaitForTasksToFinish, waitWhileWorkerIsRunningpublic RuleCompilerFuture(java.util.Set<java.lang.Thread> workers,
java.lang.Long workerPreDestroyTimeout)
public TaskResult getTaskResult()
RuleCompilerResultgetTaskResult in interface TaskExecutionFuture<TaskResult>getTaskResult in class DefaultTaskExecutionFutureRuleCompilerResultpublic long getWorkerPreDestroyTimeout()
getWorkerPreDestroyTimeout in interface TaskExecutionFuture<TaskResult>getWorkerPreDestroyTimeout in class DefaultTaskExecutionFuturepublic void addRuleCompilerResults(java.util.List<RuleCompilerResult> ruleCompilerResults)
RuleCompilerResult to this future. These results are supposed to keep track of the rule compilation
execution within the same rules partitionruleCompilerResults - list of RuleCompilerResultprotected java.util.List<RuleCompilerResult> getRuleCompilerResults()
Copyright © 2018 SAP SE. All Rights Reserved.