public class AsyncDeliverTasks extends Object implements DeliverTask
Constructor and Description |
---|
AsyncDeliverTasks(DefaultThreadPool pool,
DeliverTask deliverTask)
The constructor of the class that will use the asynchronous.
|
public AsyncDeliverTasks(DefaultThreadPool pool, DeliverTask 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(List tasks)
execute
in interface DeliverTask
tasks
- The event handler dispatch tasks to executeorg.apache.felix.eventadmin.impl.tasks.DeliverTask#execute(org.apache.felix.eventadmin.impl.tasks.HandlerTask[])
Copyright © 2006–2013 The Apache Software Foundation. All rights reserved.