- getClosure() - Method in interface com.ebay.bascomtask.config.ITaskClosureGenerator
-
Provides a closure for invoking task method calls.
- getClosure() - Method in class com.ebay.bascomtask.main.TaskMethodClosure
-
Returns a closure for nested (non-root, i.e.
- getConfig() - Static method in class com.ebay.bascomtask.config.BascomConfigFactory
-
- getDefaultOrchestratorTimeoutMs() - Method in class com.ebay.bascomtask.config.DefaultBascomConfig
-
30-second default timeout.
- getDefaultOrchestratorTimeoutMs() - Method in interface com.ebay.bascomtask.config.IBascomConfig
-
- getDurationMs() - Method in interface com.ebay.bascomtask.main.ITaskMethodClosure
-
Returns millisecond duration of executeTaskMethod call, valid even if
exception thrown.
- getDurationMs() - Method in class com.ebay.bascomtask.main.TaskMethodClosure
-
- getDurationNs() - Method in interface com.ebay.bascomtask.main.ITaskMethodClosure
-
Returns nanosecond duration of executeTaskMethod call, valid even if
exception thrown.
- getDurationNs() - Method in class com.ebay.bascomtask.main.TaskMethodClosure
-
- getExceptions() - Method in exception com.ebay.bascomtask.exceptions.RuntimeGraphError.Multi
-
- getExecutionHook(Orchestrator, String) - Method in class com.ebay.bascomtask.config.DefaultBascomConfig
-
- getExecutionHook(Orchestrator, String) - Method in interface com.ebay.bascomtask.config.IBascomConfig
-
Returns a generator for use within an orchestration execution scope --
i.e.
- getExecutionTime() - Method in class com.ebay.bascomtask.main.Orchestrator.ExecutionStats
-
- getExecutor() - Method in class com.ebay.bascomtask.config.DefaultBascomConfig
-
- getExecutor() - Method in interface com.ebay.bascomtask.config.IBascomConfig
-
The pool from which threads are drawn as needed for parallel execution.
- getGlobalIndex() - Method in class com.ebay.bascomtask.main.TaskThreadStat
-
Returns the index of the associated thread within this process.
- getGraphState() - Method in class com.ebay.bascomtask.main.Orchestrator
-
Returns a newline-separated list of all calls of all tasks.
- getId() - Method in class com.ebay.bascomtask.main.Orchestrator
-
Returns an id for this instance which has very low probability of
clashing with other ids.
- getLocalIndex() - Method in class com.ebay.bascomtask.main.TaskThreadStat
-
- getMethodActualSignature() - Method in interface com.ebay.bascomtask.main.ITaskMethodClosure
-
Method name with argument values.
- getMethodActualSignature() - Method in class com.ebay.bascomtask.main.TaskMethodClosure
-
- getMethodBindings() - Method in interface com.ebay.bascomtask.main.ITaskMethodClosure
-
Returns the list of POJO arguments to be passed to the task method.
- getMethodBindings() - Method in class com.ebay.bascomtask.main.TaskMethodClosure
-
- getMethodFormalSignature() - Method in interface com.ebay.bascomtask.main.ITaskMethodClosure
-
Method name with argument types.
- getMethodFormalSignature() - Method in class com.ebay.bascomtask.main.TaskMethodClosure
-
- getMethodName() - Method in interface com.ebay.bascomtask.main.ITaskMethodClosure
-
Retrieves the method name.
- getMethodName() - Method in class com.ebay.bascomtask.main.TaskMethodClosure
-
- getName() - Method in interface com.ebay.bascomtask.main.ITask
-
The name of this pojoCalled instance in an orchestrator, guaranteed to
always be unique that orchestrator.
- getName() - Method in class com.ebay.bascomtask.main.Orchestrator
-
- getNoWaitStats() - Method in class com.ebay.bascomtask.main.Orchestrator
-
Returns a snapshot of execution statistics resulting from a previous
execution, including any nowait tasks.
- getNumberOfOpenThreads() - Method in class com.ebay.bascomtask.main.Orchestrator
-
Returns the number of threads that have been spawned but not yet
completed.
- getNumberOfTasksExecuted() - Method in class com.ebay.bascomtask.main.Orchestrator.ExecutionStats
-
Returns the number of task method calls made.
- getNumberOfThreadsCreated() - Method in class com.ebay.bascomtask.main.Orchestrator
-
Returns the number of additional threads (not including the starting
thread) used in computing the result from this orchestrator.
- getOrchestrator() - Method in interface com.ebay.bascomtask.main.ITask
-
Returns the orchestrator which created and owns this task.
- getOrchestrator() - Method in class com.ebay.bascomtask.main.TaskThreadStat
-
The creator of this TaskThreadStat
- getParallelizationSaving() - Method in class com.ebay.bascomtask.main.Orchestrator.ExecutionStats
-
Returns the time saved by executing tasks in parallel rather than
sequentially.
- getRoot() - Method in class com.ebay.bascomtask.main.TaskThreadStat
-
Returns parent thread which created this thread.
- getStats() - Method in class com.ebay.bascomtask.main.Orchestrator
-
Returns a snapshot of execution statistics resulting from a previous
execution, excluding any nowait tasks.
- getTargetPojoTask() - Method in interface com.ebay.bascomtask.main.ITaskMethodClosure
-
Returns the target object.
- getTargetPojoTask() - Method in class com.ebay.bascomtask.main.TaskMethodClosure
-
- getTaskName() - Method in interface com.ebay.bascomtask.main.ITaskMethodClosure
-
Returns the class name of the POJO or its overwritten name(String) value.
- getTaskName() - Method in class com.ebay.bascomtask.main.TaskMethodClosure
-
- getThreadNameWidthMax() - Method in class com.ebay.bascomtask.config.DefaultBascomConfig
-
Indicates the width max for thread names such that when exceeded a '..'
string will be provided in place of any more predecessors.
- getThreadStatForCurrentThread() - Method in class com.ebay.bascomtask.main.Orchestrator
-
- go(int, boolean) - Method in class com.ebay.bascomtask.main.Foo
-
- go(int) - Method in class com.ebay.bascomtask.main.Foo
-
- IBascomConfig - Interface in com.ebay.bascomtask.config
-
BascomTask configuration.
- InvalidGraph - Exception in com.ebay.bascomtask.exceptions
-
Conditions that occur prior to any task being processed.
- InvalidGraph(String) - Constructor for exception com.ebay.bascomtask.exceptions.InvalidGraph
-
- InvalidGraph.Circular - Exception in com.ebay.bascomtask.exceptions
-
A circular reference has been detected in the graph.
- InvalidGraph.Circular(String) - Constructor for exception com.ebay.bascomtask.exceptions.InvalidGraph.Circular
-
- InvalidGraph.MissingDependents - Exception in com.ebay.bascomtask.exceptions
-
A task cannot be executed because it has no call with all paramaters
added.
- InvalidGraph.MissingDependents(String) - Constructor for exception com.ebay.bascomtask.exceptions.InvalidGraph.MissingDependents
-
- InvalidGraph.MultiMethod - Exception in com.ebay.bascomtask.exceptions
-
A task has more than one method that can fire.
- InvalidGraph.MultiMethod(String) - Constructor for exception com.ebay.bascomtask.exceptions.InvalidGraph.MultiMethod
-
- InvalidGraph.ViolatedProvides - Exception in com.ebay.bascomtask.exceptions
-
When a promise is made that a task will provide an instance, but that
task does not actually add that instance.
- InvalidGraph.ViolatedProvides(String) - Constructor for exception com.ebay.bascomtask.exceptions.InvalidGraph.ViolatedProvides
-
- InvalidTask - Exception in com.ebay.bascomtask.exceptions
-
A task supplied to an archestrator cannot be processed.
- InvalidTask(String) - Constructor for exception com.ebay.bascomtask.exceptions.InvalidTask
-
- InvalidTask.AlreadyAdded - Exception in com.ebay.bascomtask.exceptions
-
Attempts to add the same POJO task more than once are rejected else the
results would be ambiguous.
- InvalidTask.AlreadyAdded(String) - Constructor for exception com.ebay.bascomtask.exceptions.InvalidTask.AlreadyAdded
-
- InvalidTask.BadParam - Exception in com.ebay.bascomtask.exceptions
-
Thrown when a task method has a parameter that cannot be processed by the
orchestrator.
- InvalidTask.BadParam(String) - Constructor for exception com.ebay.bascomtask.exceptions.InvalidTask.BadParam
-
- InvalidTask.BadReturn - Exception in com.ebay.bascomtask.exceptions
-
Thrown when a task method has a return type that is neither void nor
boolean.
- InvalidTask.BadReturn(String) - Constructor for exception com.ebay.bascomtask.exceptions.InvalidTask.BadReturn
-
- InvalidTask.NameConflict - Exception in com.ebay.bascomtask.exceptions
-
- InvalidTask.NameConflict(String) - Constructor for exception com.ebay.bascomtask.exceptions.InvalidTask.NameConflict
-
- InvalidTask.NotPublic - Exception in com.ebay.bascomtask.exceptions
-
- InvalidTask.NotPublic(String) - Constructor for exception com.ebay.bascomtask.exceptions.InvalidTask.NotPublic
-
- invokeTaskMethod(ITaskMethodClosure) - Method in interface com.ebay.bascomtask.config.ITaskInterceptor
-
Called when a task method is ready to be invoked.
- isActive() - Method in class com.ebay.bascomtask.main.TaskThreadStat
-
True iff the associated thread is actively executing a task.
- isFork() - Method in interface com.ebay.bascomtask.main.ITask
-
Should this task not be run in the calling thread?
- isMultiMethodOk() - Method in interface com.ebay.bascomtask.main.ITask
-
Should an exception be thrown when a task has more than one method each
of which has all parameters added to the graph?
- isWait() - Method in interface com.ebay.bascomtask.main.ITask
-
Should the orchestrator wait for this task to finish before completing an
invocation of the
Orchestrator.execute() method?
- ITask - Interface in com.ebay.bascomtask.main
-
Shadow object for POJO tasks added to an orchestrator.
- ITaskClosureGenerator - Interface in com.ebay.bascomtask.config
-
- ITaskInterceptor - Interface in com.ebay.bascomtask.config
-
Interceptor for POJO task method calls.
- ITaskMethodClosure - Interface in com.ebay.bascomtask.main
-
Wraps a call to a POJO task method.