Skip navigation links
A B C D E F G I L M N O P R S T U V W 

A

afterDefaultInitialization(Orchestrator, Object) - Method in class com.ebay.bascomtask.core.GlobalOrchestratorConfig.Config
Subclasses can override to provide custom logic for GlobalOrchestratorConfig.Config.updateConfigurationOn(Orchestrator, Object).
apply() - Method in interface com.ebay.bascomtask.core.ConsumerTask
Creates a CompletableFuture around the lambda expression.
apply() - Method in class com.ebay.bascomtask.core.ConsumerTask.ConsumerTask1
 
apply() - Method in class com.ebay.bascomtask.core.ConsumerTask.ConsumerTask2
 
apply() - Method in interface com.ebay.bascomtask.core.SupplierTask
Creates a CompletableFuture around the lambda expression.
apply() - Method in class com.ebay.bascomtask.core.SupplierTask.SupplierTask0
 
apply() - Method in class com.ebay.bascomtask.core.SupplierTask.SupplierTask1
 
apply() - Method in class com.ebay.bascomtask.core.SupplierTask.SupplierTask2
 
average - Variable in class com.ebay.bascomtask.runners.StatTaskRunner.Timing
 

B

before(TaskRun) - Method in interface com.ebay.bascomtask.core.TaskRunner
Called before TaskRunner.executeTaskMethod(TaskRun, Thread, Object), but in the parent thread.
before(TaskRun) - Method in class com.ebay.bascomtask.runners.LogTaskRunner
 
before(TaskRun) - Method in class com.ebay.bascomtask.runners.ProfilingTaskRunner
 
before(TaskRun) - Method in class com.ebay.bascomtask.runners.StatTaskRunner
 

C

collect() - Method in class com.ebay.bascomtask.runners.StatTaskRunner
Returns a summarized execution data snapshot.
com.ebay.bascomtask.annotations - package com.ebay.bascomtask.annotations
 
com.ebay.bascomtask.core - package com.ebay.bascomtask.core
 
com.ebay.bascomtask.exceptions - package com.ebay.bascomtask.exceptions
 
com.ebay.bascomtask.runners - package com.ebay.bascomtask.runners
 
CommonConfig - Interface in com.ebay.bascomtask.core
Configuration settings.
complete(R) - Method in interface com.ebay.bascomtask.core.TaskInterface
Convenience method creates a CompletableFuture from a constant value, which may or may not be null.
complete() - Method in interface com.ebay.bascomtask.core.TaskInterface
Convenience method for returning a void result.
completedBefore(TaskMeta) - Method in interface com.ebay.bascomtask.core.TaskMeta
 
completionTime - Variable in class com.ebay.bascomtask.runners.StatTaskRunner.Stat
 
cond(CompletableFuture<Boolean>, CompletableFuture<Void>, boolean) - Method in class com.ebay.bascomtask.core.Engine
 
cond(CompletableFuture<Boolean>, CompletableFuture<R>, boolean, CompletableFuture<R>, boolean) - Method in class com.ebay.bascomtask.core.Engine
 
cond(CompletableFuture<Boolean>, CompletableFuture<Void>) - Method in interface com.ebay.bascomtask.core.Orchestrator
Execute the supplied CompletableFuture depending on the supplied condition.
cond(CompletableFuture<Boolean>, CompletableFuture<Void>, boolean) - Method in interface com.ebay.bascomtask.core.Orchestrator
Variant of Orchestrator.cond(CompletableFuture, CompletableFuture) with an additional boolean argument indicating whether to proactively start executing thenFuture at the same time as condition.
cond(CompletableFuture<Boolean>, CompletableFuture<R>, CompletableFuture<R>) - Method in interface com.ebay.bascomtask.core.Orchestrator
Execute one of two choices depending on the result of the supplied condition.
cond(CompletableFuture<Boolean>, CompletableFuture<R>, boolean, CompletableFuture<R>, boolean) - Method in interface com.ebay.bascomtask.core.Orchestrator
Variant of Orchestrator.cond(CompletableFuture, CompletableFuture, CompletableFuture) with additional boolean arguments indicating whether to proactively start executing thenFuture and/or elseFuture when condition is activated.
Config() - Constructor for class com.ebay.bascomtask.core.GlobalOrchestratorConfig.Config
 
ConsumerTask - Interface in com.ebay.bascomtask.core
Function tasks added through 'fn()' methods on Orchestrator allow CompletableFuture tasks to be created from lambda expressions that do not return a value.
ConsumerTask.ConsumerTask1<IN> - Class in com.ebay.bascomtask.core
An ConsumerTask that takes 1 argument.
ConsumerTask.ConsumerTask2<IN1,IN2> - Class in com.ebay.bascomtask.core
An ConsumerTask that takes 2 arguments.
ConsumerTask1(CompletableFuture<IN>, Consumer<IN>) - Constructor for class com.ebay.bascomtask.core.ConsumerTask.ConsumerTask1
 
ConsumerTask2(CompletableFuture<IN1>, CompletableFuture<IN2>, BiConsumer<IN1, IN2>) - Constructor for class com.ebay.bascomtask.core.ConsumerTask.ConsumerTask2
 
count - Variable in class com.ebay.bascomtask.runners.StatTaskRunner.Stat
 
create() - Static method in interface com.ebay.bascomtask.core.Orchestrator
Creates an Orchestrator with no name.
create(String) - Static method in interface com.ebay.bascomtask.core.Orchestrator
Creates a new named Orchestrator, which is the same as
create(String, Object) - Static method in interface com.ebay.bascomtask.core.Orchestrator
Creates an Orchestrator with the given name and argument.

D

DEFAULT_FIXED_THREADPOOL_SIZE - Static variable in class com.ebay.bascomtask.core.GlobalOrchestratorConfig
 

E

Engine - Class in com.ebay.bascomtask.core
Core implementation of orchestrator maintains task state during execution.
execTime - Variable in class com.ebay.bascomtask.runners.StatTaskRunner.Stat
 
execute(long, CompletionStage<?>...) - Method in class com.ebay.bascomtask.core.Engine
 
execute(CompletionStage<?>...) - Method in interface com.ebay.bascomtask.core.Orchestrator
Initiates execution of the task methods behind each supplied CompletableFuture if they are not already started, as well as the task methods needed to supply its inputs, recursively.
execute(long, TimeUnit, CompletionStage<?>...) - Method in interface com.ebay.bascomtask.core.Orchestrator
Variant of Orchestrator.execute(long, CompletionStage[]) with TimeUnit option.
execute(long, CompletionStage<?>...) - Method in interface com.ebay.bascomtask.core.Orchestrator
Like Orchestrator.execute(CompletionStage[]), but establishes a timeout which will affect execution as defined by the TimeoutStrategy in effect.
executeAndWait(long, CompletableFuture<?>...) - Method in class com.ebay.bascomtask.core.Engine
 
executeAndWait(CompletableFuture<?>...) - Method in interface com.ebay.bascomtask.core.Orchestrator
Variant of Orchestrator.execute(CompletionStage[]) that waits for all of its arguments to complete, ignoring any exceptions.
executeAndWait(long, TimeUnit, CompletableFuture<?>...) - Method in interface com.ebay.bascomtask.core.Orchestrator
executeAndWait(long, CompletableFuture<?>...) - Method in interface com.ebay.bascomtask.core.Orchestrator
Variant of Orchestrator.executeAndWait(CompletableFuture[]), but establishes a timeout which will affect execution as defined by the TimeoutStrategy in effect.
executeTaskMethod(TaskRun, Thread, Object) - Method in interface com.ebay.bascomtask.core.TaskRunner
Task invocation -- an implementation should invoke TaskRun.run() to complete the invocation (unless there is some reason to prevent it, but then the implementation must take responsibility to ensure the all CompletableFuture return values are completed).
executeTaskMethod(TaskRun, Thread, Object) - Method in class com.ebay.bascomtask.runners.LogTaskRunner
 
executeTaskMethod(TaskRun, Thread, Object) - Method in class com.ebay.bascomtask.runners.ProfilingTaskRunner
 
executeTaskMethod(TaskRun, Thread, Object) - Method in class com.ebay.bascomtask.runners.StatTaskRunner
 
executorService - Variable in class com.ebay.bascomtask.core.GlobalOrchestratorConfig.Config
 

F

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
 

G

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
Returns the TaskRunner last generated by the supplier function to ThreadLocalRunners.firstInterceptWith(Supplier) or ThreadLocalRunners.firstInterceptWith(Supplier, BiPredicate) for this thread.
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
Returns the current number of interceptors, as set by CommonConfig.firstInterceptWith(TaskRunner), CommonConfig.lastInterceptWith(TaskRunner), or for Orchestrators as set from current global settings.
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
Returns details for any future previously registered with Orchestrator.execute(CompletionStage[]) (directly or through an operation on a CompletableFuture return value).
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
Gets the current timeout strategy, default is TimeoutStrategy.PREVENT_NEW.
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.

I

initializers - Variable in class com.ebay.bascomtask.core.GlobalOrchestratorConfig.Config
 
initializeWith(BiConsumer<Orchestrator, Object>) - Method in class com.ebay.bascomtask.core.GlobalOrchestratorConfig.Config
 
InvalidTaskException - Exception in com.ebay.bascomtask.exceptions
Applies to a task that cannot be processed by the framework.
InvalidTaskException(String) - Constructor for exception com.ebay.bascomtask.exceptions.InvalidTaskException
 
InvalidTaskMethodException - Exception in com.ebay.bascomtask.exceptions
Applies to a task that cannot method be executed by the framework.
InvalidTaskMethodException(String) - Constructor for exception com.ebay.bascomtask.exceptions.InvalidTaskMethodException
 
isEnabled(Logger) - Method in enum com.ebay.bascomtask.runners.LogTaskLevel
 
isMainThreadReusable() - Method in enum com.ebay.bascomtask.core.SpawnMode
Returns true if this mode allows for the main thread can be picked up while idle and otherwise waiting for a CompletableFuture to complete, and used to to process spawning task methods.

L

last - Variable in class com.ebay.bascomtask.core.GlobalOrchestratorConfig.Config
 
lastInterceptWith(TaskRunner) - Method in interface com.ebay.bascomtask.core.CommonConfig
Adds a TaskRunner that will be processed after any existing TaskRunner.
lastInterceptWith(TaskRunner) - Method in class com.ebay.bascomtask.core.Engine
 
lastInterceptWith(TaskRunner) - Method in class com.ebay.bascomtask.core.GlobalOrchestratorConfig.Config
 
lastInterceptWith(Supplier<RUNNER>) - Method in class com.ebay.bascomtask.core.ThreadLocalRunners
Adds a TaskRunner to each new Orchestrator to the tail of the list.
lastInterceptWith(Supplier<RUNNER>, BiPredicate<Orchestrator, Object>) - Method in class com.ebay.bascomtask.core.ThreadLocalRunners
Adds a TaskRunner to each new Orchestrator to the tail of the list if the supplied predicate is true.
Light - Annotation Type in com.ebay.bascomtask.annotations
Marks a task method that is fast, likely because it does not make external calls or access a database.
light() - Method in interface com.ebay.bascomtask.core.TaskInterface
Forces execution within the outer thread, i.e.
LogTaskLevel - Enum in com.ebay.bascomtask.runners
Provides missing log levels for slf4j.
LogTaskRunner - Class in com.ebay.bascomtask.runners
Logs task execution before and after, with a configurable level and detail.
LogTaskRunner() - Constructor for class com.ebay.bascomtask.runners.LogTaskRunner
 

M

max - Variable in class com.ebay.bascomtask.runners.StatTaskRunner.Timing
 
min - Variable in class com.ebay.bascomtask.runners.StatTaskRunner.Timing
 

N

name(String) - Method in interface com.ebay.bascomtask.core.TaskInterface
Provides a name for this task, useful for logging and profiling.

O

onComplete(TaskRun, Object, boolean) - Method in interface com.ebay.bascomtask.core.TaskRunner
Called once any CompletableFuture return result completes, which may be before the call to TaskRun.run() or after if a method returns an incomplete CompletableFuture.
onComplete(TaskRun, Object, boolean) - Method in class com.ebay.bascomtask.runners.LogTaskRunner
 
onComplete(TaskRun, Object, boolean) - Method in class com.ebay.bascomtask.runners.ProfilingTaskRunner
 
onComplete(TaskRun, Object, boolean) - Method in class com.ebay.bascomtask.runners.StatTaskRunner
 
Orchestrator - Interface in com.ebay.bascomtask.core
Manages execution flow among one or more tasks.
overlapped(TaskMeta) - Method in interface com.ebay.bascomtask.core.TaskMeta
 

P

ProfilingTaskRunner - Class in com.ebay.bascomtask.runners
Tracks and creates a task execution profile on demand.
ProfilingTaskRunner() - Constructor for class com.ebay.bascomtask.runners.ProfilingTaskRunner
 

R

removeAllTaskRunners() - Method in interface com.ebay.bascomtask.core.CommonConfig
Removes all interceptors from the current list.
removeAllTaskRunners() - Method in class com.ebay.bascomtask.core.Engine
 
removeAllTaskRunners() - Method in class com.ebay.bascomtask.core.GlobalOrchestratorConfig.Config
 
removeInterceptor(TaskRunner) - Method in interface com.ebay.bascomtask.core.CommonConfig
Removes the given TaskRunner from the current list, if it is there.
removeInterceptor(TaskRunner) - Method in class com.ebay.bascomtask.core.Engine
 
removeInterceptor(TaskRunner) - Method in class com.ebay.bascomtask.core.GlobalOrchestratorConfig.Config
 
report(PrintStream) - Method in class com.ebay.bascomtask.runners.StatTaskRunner
Prints a tabular-formatted summary of statistics to the given PrintStream.
report() - Method in class com.ebay.bascomtask.runners.StatTaskRunner
Returns a table-formatted summary as a string.
Report() - Constructor for class com.ebay.bascomtask.runners.StatTaskRunner.Report
 
restoreConfigurationDefaults(Object) - Method in interface com.ebay.bascomtask.core.CommonConfig
Restore default settings.
restoreConfigurationDefaults(Object) - Method in class com.ebay.bascomtask.core.Engine
 
restoreConfigurationDefaults(Object) - Method in class com.ebay.bascomtask.core.GlobalOrchestratorConfig.Config
 
restoreDefaultExecutorService() - Method in interface com.ebay.bascomtask.core.CommonConfig
 
restoreDefaultExecutorService() - Method in class com.ebay.bascomtask.core.Engine
 
restoreDefaultExecutorService() - Method in class com.ebay.bascomtask.core.GlobalOrchestratorConfig.Config
 
run() - Method in interface com.ebay.bascomtask.core.TaskRun
 
runSpawned() - Method in interface com.ebay.bascomtask.core.TaskInterface
Forces a new thread to be allocated for this task.

S

setConfig(GlobalOrchestratorConfig.Config) - Static method in class com.ebay.bascomtask.core.GlobalOrchestratorConfig
 
setExecutorService(ExecutorService) - Method in interface com.ebay.bascomtask.core.CommonConfig
Resets the service used by this framework for spawning threads.
setExecutorService(ExecutorService) - Method in class com.ebay.bascomtask.core.Engine
 
setExecutorService(ExecutorService) - Method in class com.ebay.bascomtask.core.GlobalOrchestratorConfig.Config
 
setFullSignatureLogging(boolean) - Method in class com.ebay.bascomtask.runners.LogTaskRunner
Makes log output include actual method arguments.
setLevel(LogTaskLevel) - Method in class com.ebay.bascomtask.runners.LogTaskRunner
Set debug level.
setName(String) - Method in class com.ebay.bascomtask.core.Engine
 
setName(String) - Method in interface com.ebay.bascomtask.core.Orchestrator
Sets name that will become part of the name for any threads spawned by this Orchestrator.
setSpawnMode(SpawnMode) - Method in interface com.ebay.bascomtask.core.CommonConfig
Changes the thread-spawning logic to be consistent with the specified mode.
setSpawnMode(SpawnMode) - Method in class com.ebay.bascomtask.core.Engine
 
setSpawnMode(SpawnMode) - Method in class com.ebay.bascomtask.core.GlobalOrchestratorConfig.Config
 
setTimeout(long, TimeUnit) - Method in interface com.ebay.bascomtask.core.CommonConfig
Calls CommonConfig.setTimeoutMs(long) after calculating the millisecond duration from the supplied arguments.
setTimeoutMs(long) - Method in interface com.ebay.bascomtask.core.CommonConfig
Sets the current timeout.
setTimeoutMs(long) - Method in class com.ebay.bascomtask.core.Engine
 
setTimeoutMs(long) - Method in class com.ebay.bascomtask.core.GlobalOrchestratorConfig.Config
 
setTimeoutStrategy(TimeoutStrategy) - Method in interface com.ebay.bascomtask.core.CommonConfig
Sets the strategy to apply if a timeout greater than zero is in effect and is exceeded.
setTimeoutStrategy(TimeoutStrategy) - Method in class com.ebay.bascomtask.core.Engine
 
setTimeoutStrategy(TimeoutStrategy) - Method in class com.ebay.bascomtask.core.GlobalOrchestratorConfig.Config
 
spawnMode - Variable in class com.ebay.bascomtask.core.GlobalOrchestratorConfig.Config
 
SpawnMode - Enum in com.ebay.bascomtask.core
Defines thread spawning behavior for the BascomTask framework.
Stat() - Constructor for class com.ebay.bascomtask.runners.StatTaskRunner.Stat
 
StatTaskRunner - Class in com.ebay.bascomtask.runners
Collects various task execution statistics.
StatTaskRunner() - Constructor for class com.ebay.bascomtask.runners.StatTaskRunner
 
StatTaskRunner.Report - Class in com.ebay.bascomtask.runners
 
StatTaskRunner.Stat - Class in com.ebay.bascomtask.runners
 
StatTaskRunner.Timing - Class in com.ebay.bascomtask.runners
 
SupplierTask<R> - Interface in com.ebay.bascomtask.core
Function tasks added through 'fn()' methods on Orchestrator allow CompletableFuture tasks to be created from lambda expressions that supply a return value.
SupplierTask.SupplierTask0<R> - Class in com.ebay.bascomtask.core
An SupplierTask that takes no arguments.
SupplierTask.SupplierTask1<IN,R> - Class in com.ebay.bascomtask.core
An SupplierTask that takes 1 argument.
SupplierTask.SupplierTask2<IN1,IN2,R> - Class in com.ebay.bascomtask.core
An SupplierTask that takes 2 arguments.
SupplierTask0(Supplier<R>) - Constructor for class com.ebay.bascomtask.core.SupplierTask.SupplierTask0
 
SupplierTask1(CompletableFuture<IN>, Function<IN, R>) - Constructor for class com.ebay.bascomtask.core.SupplierTask.SupplierTask1
 
SupplierTask2(CompletableFuture<IN1>, CompletableFuture<IN2>, BiFunction<IN1, IN2, R>) - Constructor for class com.ebay.bascomtask.core.SupplierTask.SupplierTask2
 

T

task(SUB) - Method in class com.ebay.bascomtask.core.Engine
 
task(SUB) - Method in interface com.ebay.bascomtask.core.Orchestrator
Creates a task wrapper around any user POJO with the requirement that that POJO implements an interface X that in turn implements TaskInterface<X>.The result is a wrapper object that has the same signature as its pojo argument, such that any CompletableFuture-returning task methods invoked on this wrapper are not executed right away --they will be executed if/when any read operation on the returned CompletableFuture is performed or by passing that CompletableFuture to Orchestrator.execute(CompletionStage[]) or any of its variants.
task(TASK, Function<TASK, R>) - Method in interface com.ebay.bascomtask.core.Orchestrator
Creates a task wrapper on any user pojo task method.
TaskInterface<T> - Interface in com.ebay.bascomtask.core
Common interface that all user POJO task object interfaces should implement, like this:
TaskMeta - Interface in com.ebay.bascomtask.core
Exposes execution statistics to TaskRunners.
taskMethod - Variable in class com.ebay.bascomtask.runners.StatTaskRunner.Stat
 
TaskNotStartedException - Exception in com.ebay.bascomtask.exceptions
Applies to a task that was never started because of an exception elsewhere.
TaskNotStartedException(Throwable) - Constructor for exception com.ebay.bascomtask.exceptions.TaskNotStartedException
 
TaskRun - Interface in com.ebay.bascomtask.core
User task wrapper exposed to TaskRunners.
TaskRunner - Interface in com.ebay.bascomtask.core
Task execution hook points.
ThreadLocalRunners<RUNNER extends TaskRunner> - Class in com.ebay.bascomtask.core
Allows setting of a per-orchestrator TaskRunner that applies to an Orchestrator created by the current thread using ThreadLocal storage.
ThreadLocalRunners() - Constructor for class com.ebay.bascomtask.core.ThreadLocalRunners
 
TimeoutExceededException - Exception in com.ebay.bascomtask.exceptions
When a timeout has been specified and exceeded.
TimeoutExceededException(String) - Constructor for exception com.ebay.bascomtask.exceptions.TimeoutExceededException
 
timeoutMs - Variable in class com.ebay.bascomtask.core.GlobalOrchestratorConfig.Config
 
timeoutStrategy - Variable in class com.ebay.bascomtask.core.GlobalOrchestratorConfig.Config
 
TimeoutStrategy - Enum in com.ebay.bascomtask.core
Strategies for dealing with execution timeouts that impact threads spawned during the execution of a request such as CompletableFuture.get(long, TimeUnit).
Timing() - Constructor for class com.ebay.bascomtask.runners.StatTaskRunner.Timing
 
toString() - Method in class com.ebay.bascomtask.core.Engine
 

U

updateConfigurationOn(Orchestrator, Object) - Method in class com.ebay.bascomtask.core.GlobalOrchestratorConfig.Config
Transfers configuration settings to the supplied orchestrator.

V

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.

W

write(Logger, String) - Method in enum com.ebay.bascomtask.runners.LogTaskLevel
 
write(Logger, String, Object) - Method in enum com.ebay.bascomtask.runners.LogTaskLevel
 
write(Logger, String, Object, Object) - Method in enum com.ebay.bascomtask.runners.LogTaskLevel
 
write(Logger, String, Object...) - Method in enum com.ebay.bascomtask.runners.LogTaskLevel
 
write(Logger, String, Throwable) - Method in enum com.ebay.bascomtask.runners.LogTaskLevel
 
A B C D E F G I L M N O P R S T U V W 
Skip navigation links

Copyright © 2021. All rights reserved.