- fate(CompletableFuture<?>...) - Method in class com.ebay.bascomtask.core.Engine
-
- fate(CompletableFuture<?>...) - Method in interface com.ebay.bascomtask.core.Orchestrator
-
Ties the 'fates' of the supplied CompletableFutures together, which means that as soon as there is a fault on
any one of them, back-pressure is applied to prevent any of the remaining tasks or their predecessors (as
determined recursively) from starting if they have not already been started, and forcing a
TaskNotStartedException on any CompletableFuture that was prevented
from starting in that manner.
- first - Variable in class com.ebay.bascomtask.core.GlobalOrchestratorConfig.Config
-
- firstInterceptWith(TaskRunner) - Method in interface com.ebay.bascomtask.core.CommonConfig
-
Adds a TaskRunner that will be processed before any existing TaskRunner.
- firstInterceptWith(TaskRunner) - Method in class com.ebay.bascomtask.core.Engine
-
- firstInterceptWith(TaskRunner) - Method in class com.ebay.bascomtask.core.GlobalOrchestratorConfig.Config
-
- firstInterceptWith(Supplier<RUNNER>) - Method in class com.ebay.bascomtask.core.ThreadLocalRunners
-
Adds a TaskRunner to each new Orchestrator at the head of the list.
- firstInterceptWith(Supplier<RUNNER>, BiPredicate<Orchestrator, Object>) - Method in class com.ebay.bascomtask.core.ThreadLocalRunners
-
Adds a TaskRunner to each new Orchestrator at the head of the list if the supplied predicate is true.
- fn(Supplier<R>) - Method in interface com.ebay.bascomtask.core.Orchestrator
-
Produces function task value that takes no arguments and produces one result.
- fn(Supplier<IN>, Function<IN, R>) - Method in interface com.ebay.bascomtask.core.Orchestrator
-
Produces function task value that takes one argument and produces one result.
- fn(CompletableFuture<IN>, Function<IN, R>) - Method in interface com.ebay.bascomtask.core.Orchestrator
-
Produces function task value that takes one non-lambda argument and produces one result.
- fn(CompletableFuture<IN1>, CompletableFuture<IN2>, BiFunction<IN1, IN2, R>) - Method in interface com.ebay.bascomtask.core.Orchestrator
-
Produces function task value that takes two non-lambda arguments and produces one result.
- fn(Supplier<IN1>, CompletableFuture<IN2>, BiFunction<IN1, IN2, R>) - Method in interface com.ebay.bascomtask.core.Orchestrator
-
Produces function task value that takes mixed arguments and produces one result.
- fn(CompletableFuture<IN1>, Supplier<IN2>, BiFunction<IN1, IN2, R>) - Method in interface com.ebay.bascomtask.core.Orchestrator
-
Produces function task value that takes mixed arguments and produces one result.
- fn(Supplier<IN1>, Supplier<IN2>, BiFunction<IN1, IN2, R>) - Method in interface com.ebay.bascomtask.core.Orchestrator
-
Produces function task value that takes two lambda arguments and produces one result.
- fnTask(Supplier<R>) - Method in interface com.ebay.bascomtask.core.Orchestrator
-
Produces function task that takes no arguments and produces one result.
- fnTask(Supplier<IN>, Function<IN, R>) - Method in interface com.ebay.bascomtask.core.Orchestrator
-
Produces function task that takes one argument and produces one result.
- fnTask(CompletableFuture<IN>, Function<IN, R>) - Method in interface com.ebay.bascomtask.core.Orchestrator
-
Produces function task that takes one non-lambda argument and produces one result.
- fnTask(CompletableFuture<IN1>, CompletableFuture<IN2>, BiFunction<IN1, IN2, R>) - Method in interface com.ebay.bascomtask.core.Orchestrator
-
Produces function task that takes two non-lambda arguments and produces one result.
- fnTask(Supplier<IN1>, CompletableFuture<IN2>, BiFunction<IN1, IN2, R>) - Method in interface com.ebay.bascomtask.core.Orchestrator
-
Produces function task that takes mixed arguments and produces one result.
- fnTask(CompletableFuture<IN1>, Supplier<IN2>, BiFunction<IN1, IN2, R>) - Method in interface com.ebay.bascomtask.core.Orchestrator
-
Produces function task that takes mixed arguments and produces one result.
- fnTask(Supplier<IN1>, Supplier<IN2>, BiFunction<IN1, IN2, R>) - Method in interface com.ebay.bascomtask.core.Orchestrator
-
Produces function task that takes two lambda arguments and produces one result.
- format() - Method in class com.ebay.bascomtask.runners.ProfilingTaskRunner
-
Returns a tabular execution profile with events as rows and threads as columns.
- formatActualSignature(StringBuilder) - Method in interface com.ebay.bascomtask.core.TaskRun
-
- get() - Method in interface com.ebay.bascomtask.core.SupplierTask
-
Convenience method that evaluates lambda expression right away.
- get(Future<R>) - Method in interface com.ebay.bascomtask.core.TaskInterface
-
Convenience method that calls future.get() but turns any checked exceptions from
that call into unchecked ones.
- getAndClear() - Method in class com.ebay.bascomtask.core.ThreadLocalRunners
-
- getCompletedAt() - Method in interface com.ebay.bascomtask.core.TaskMeta
-
Returns the time at which this task method was completed, which for CompletableFutures is the time
at which it had a value assigned.
- getConfig() - Static method in class com.ebay.bascomtask.core.GlobalOrchestratorConfig
-
- getCountOfThreadsSpawned() - Method in class com.ebay.bascomtask.core.Engine
-
- getCountOfThreadsSpawned() - Method in interface com.ebay.bascomtask.core.Orchestrator
-
Returns the number of threads that have been spawned by this Orchestrator, which is a non-deterministic result
since the inherent timing variations across threads may result in different spawning decisions on different
runs of the same execution request.
- getEndedAt() - Method in interface com.ebay.bascomtask.core.TaskMeta
-
Returns the time at which this task method was ended.
- getExecutorService() - Method in interface com.ebay.bascomtask.core.CommonConfig
-
- getExecutorService() - Method in class com.ebay.bascomtask.core.Engine
-
- getExecutorService() - Method in class com.ebay.bascomtask.core.GlobalOrchestratorConfig.Config
-
- getName() - Method in class com.ebay.bascomtask.core.Engine
-
- getName() - Method in interface com.ebay.bascomtask.core.Orchestrator
-
- getName() - Method in interface com.ebay.bascomtask.core.TaskInterface
-
Returns the name of this task, useful for logging and profiling.
- getName() - Method in interface com.ebay.bascomtask.core.TaskRun
-
Returns the task name, e.g.
- getNumberOfInterceptors() - Method in interface com.ebay.bascomtask.core.CommonConfig
-
- getNumberOfInterceptors() - Method in class com.ebay.bascomtask.core.Engine
-
- getNumberOfInterceptors() - Method in class com.ebay.bascomtask.core.GlobalOrchestratorConfig.Config
-
- getSpawnMode() - Method in interface com.ebay.bascomtask.core.CommonConfig
-
Gets the most recently set mode.
- getSpawnMode() - Method in class com.ebay.bascomtask.core.Engine
-
- getSpawnMode() - Method in class com.ebay.bascomtask.core.GlobalOrchestratorConfig.Config
-
- getStartedAt() - Method in interface com.ebay.bascomtask.core.TaskMeta
-
Returns the time at which this task method was started.
- getTask() - Method in interface com.ebay.bascomtask.core.TaskRun
-
Returns the user task pojo if there is one.
- getTaskMeta(CompletableFuture<?>) - Method in class com.ebay.bascomtask.core.Engine
-
- getTaskMeta(CompletableFuture<?>) - Method in interface com.ebay.bascomtask.core.Orchestrator
-
- getTaskPlusMethodName() - Method in interface com.ebay.bascomtask.core.TaskRun
-
- getTimeoutMs() - Method in interface com.ebay.bascomtask.core.CommonConfig
-
Gets the current timeout.
- getTimeoutMs() - Method in class com.ebay.bascomtask.core.Engine
-
- getTimeoutMs() - Method in class com.ebay.bascomtask.core.GlobalOrchestratorConfig.Config
-
- getTimeoutStrategy() - Method in interface com.ebay.bascomtask.core.CommonConfig
-
- getTimeoutStrategy() - Method in class com.ebay.bascomtask.core.Engine
-
- getTimeoutStrategy() - Method in class com.ebay.bascomtask.core.GlobalOrchestratorConfig.Config
-
- GlobalOrchestratorConfig - Class in com.ebay.bascomtask.core
-
Maintains configuration settings that will be applied to new Orchestrators.
- GlobalOrchestratorConfig() - Constructor for class com.ebay.bascomtask.core.GlobalOrchestratorConfig
-
- GlobalOrchestratorConfig.Config - Class in com.ebay.bascomtask.core
-
Default implementation maintains values that are transferred to an Orchestrator on demand.
- valueOf(String) - Static method in enum com.ebay.bascomtask.core.SpawnMode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.ebay.bascomtask.core.TimeoutStrategy
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.ebay.bascomtask.runners.LogTaskLevel
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum com.ebay.bascomtask.core.SpawnMode
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.ebay.bascomtask.core.TimeoutStrategy
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.ebay.bascomtask.runners.LogTaskLevel
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- vfn(Supplier<IN>, Consumer<IN>) - Method in interface com.ebay.bascomtask.core.Orchestrator
-
Produces function task value that takes one lambda argument and produces no result.
- vfn(CompletableFuture<IN1>, Supplier<IN2>, BiConsumer<IN1, IN2>) - Method in interface com.ebay.bascomtask.core.Orchestrator
-
Produces function task value that takes mixed arguments and produces no result.
- vfn(CompletableFuture<IN1>, CompletableFuture<IN2>, BiConsumer<IN1, IN2>) - Method in interface com.ebay.bascomtask.core.Orchestrator
-
Produces function task value that takes non-lambda arguments and produces no result.
- vfn(Supplier<IN1>, CompletableFuture<IN2>, BiConsumer<IN1, IN2>) - Method in interface com.ebay.bascomtask.core.Orchestrator
-
Produces function task value that takes mixed arguments and produces no result.
- vfn(Supplier<IN1>, Supplier<IN2>, BiConsumer<IN1, IN2>) - Method in interface com.ebay.bascomtask.core.Orchestrator
-
Produces function task value that takes two lambda arguments and produces no result.
- vfnTask(Supplier<IN>, Consumer<IN>) - Method in interface com.ebay.bascomtask.core.Orchestrator
-
Produces function task that takes one lambda argument and produces no result.
- vfnTask(CompletableFuture<IN1>, Supplier<IN2>, BiConsumer<IN1, IN2>) - Method in interface com.ebay.bascomtask.core.Orchestrator
-
Produces function task that takes mixed arguments and produces no result.
- vfnTask(CompletableFuture<IN1>, CompletableFuture<IN2>, BiConsumer<IN1, IN2>) - Method in interface com.ebay.bascomtask.core.Orchestrator
-
Produces function task that takes non-lambda arguments and produces no result.
- vfnTask(Supplier<IN1>, CompletableFuture<IN2>, BiConsumer<IN1, IN2>) - Method in interface com.ebay.bascomtask.core.Orchestrator
-
Produces function task that takes mixed arguments and produces no result.
- vfnTask(Supplier<IN1>, Supplier<IN2>, BiConsumer<IN1, IN2>) - Method in interface com.ebay.bascomtask.core.Orchestrator
-
Produces function task that takes two lambda arguments and produces no result.
- voidTask(TASK, Consumer<TASK>) - Method in interface com.ebay.bascomtask.core.Orchestrator
-
Adds a task wrapper on any user pojo task method with a void result.