public class AsyncDeliverTasks extends Object
| Constructor and Description |
|---|
AsyncDeliverTasks(DefaultThreadPool pool,
SyncDeliverTasks deliverTask)
The constructor of the class that will use the asynchronous.
|
| Modifier and Type | Method and Description |
|---|---|
void |
execute(Collection<EventHandlerProxy> tasks,
org.osgi.service.event.Event event)
This does not block an unrelated thread used to send a synchronous event.
|
public AsyncDeliverTasks(DefaultThreadPool pool, SyncDeliverTasks deliverTask)
pool - The thread pool used to spin-off new asynchronous event
dispatching threads in case of timeout or that the asynchronous event
dispatching thread is used to send a synchronous eventdeliverTask - The deliver tasks for dispatching the event.public void execute(Collection<EventHandlerProxy> tasks, org.osgi.service.event.Event event)
tasks - The event handler dispatch tasks to executeevent - The eventCopyright © 2006–2021 The Apache Software Foundation. All rights reserved.