| Package | Description |
|---|---|
| net.lecousin.framework.concurrent |
Multi-threading framework.
|
| net.lecousin.framework.concurrent.async |
Classes implementing synchronization points such as asynchronous result, join point...
|
| net.lecousin.framework.progress |
Progression of asynchronous or background works.
|
| Modifier and Type | Field and Description |
|---|---|
protected JoinPoint<TError> |
Task.taskJoin |
| Modifier and Type | Method and Description |
|---|---|
static void |
ThreadingDebugHelper.register(JoinPoint<?> jp)
Register a JoinPoint, to monitor that it will be unblocked.
|
static void |
ThreadingDebugHelper.registerJoin(JoinPoint<?> jp,
IAsync<?> sp)
Indicates that a JoinPoint is waiting for a synchronization point.
|
static void |
ThreadingDebugHelper.started(JoinPoint<?> jp)
Indicate a JoinPoint has been started.
|
| Modifier and Type | Method and Description |
|---|---|
static JoinPoint<Exception> |
JoinPoint.from(Collection<? extends IAsync<?>> synchPoints)
Shortcut method to create a JoinPoint waiting for the given synchronization points, the JoinPoint is started by this method.
|
static JoinPoint<Exception> |
JoinPoint.from(IAsync<?>... synchPoints)
Shortcut method to create a JoinPoint waiting for the given synchronization points, the JoinPoint is started by this method.
|
static <T extends Exception> |
JoinPoint.fromSimilarError(IAsync<T>... synchPoints)
Shortcut method to create a JoinPoint waiting for the given synchronization points, the JoinPoint is started by this method.
If some given synchronization points are null, they are just skipped.
|
static JoinPoint<Exception> |
JoinPoint.fromTasks(Collection<? extends Task<?,?>> tasks)
Shortcut method to create a JoinPoint waiting for the given tasks, the JoinPoint is started by this method.
If any task has error or is cancelled, the join point is immediately unblocked, even other tasks are still pending.
|
static JoinPoint<Exception> |
JoinPoint.fromTasks(Task<?,?>... tasks)
Shortcut method to create a JoinPoint waiting for the given tasks, the JoinPoint is started by this method.
If any task has error or is cancelled, the join point is immediately unblocked, even other tasks are still pending.
|
static JoinPoint<NoException> |
JoinPoint.fromTasksNoErrorOrCancel(Collection<? extends Task<?,?>> tasks)
Shortcut method to create a JoinPoint waiting for the given tasks, the JoinPoint is started by this method.
The JoinPoint is not unblocked until all tasks are done.
|
| Modifier and Type | Field and Description |
|---|---|
protected JoinPoint<Exception> |
MultiTaskProgress.jp |
Copyright © 2019. All rights reserved.