Package | Description |
---|---|
org.jboss.threads |
Modifier and Type | Method and Description |
---|---|
static <A> DirectExecutor |
JBossExecutors.notifyingDirectExecutor(DirectExecutor delegate,
TaskNotifier<Runnable,? super A> notifier,
A attachment)
Get a notifying direct executor.
|
static <R extends Runnable,A> |
JBossExecutors.notifyingRunnable(R task,
TaskNotifier<? super R,? super A> notifier,
A attachment)
Get a notifying runnable wrapper for a task.
|
static <R extends Runnable,A> |
JBossExecutors.run(R task,
DirectExecutor directExecutor,
TaskNotifier<? super R,? super A> notifier,
A attachment)
Run a task through the given direct executor, invoking the given notifier with the given attachment.
|
static <R extends Runnable,A> |
JBossExecutors.run(R task,
TaskNotifier<? super R,? super A> notifier,
A attachment)
Run a task, invoking the given notifier with the given attachment.
|
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.