|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use DispatchTask | |
---|---|
org.apache.felix.eventadmin.impl.dispatch | |
org.apache.felix.eventadmin.impl.tasks |
Uses of DispatchTask in org.apache.felix.eventadmin.impl.dispatch |
---|
Methods in org.apache.felix.eventadmin.impl.dispatch that return DispatchTask | |
---|---|
DispatchTask |
ThreadPool.getTask(Thread thread,
DispatchTask defaultTask)
Look-up the task that the given thread is currently executing or return the default value that may be null in case that the thread has not been created by an instance of this class. |
DispatchTask |
CacheThreadPool.getTask(Thread thread,
DispatchTask defaultTask)
Look-up the task that the given thread is currently executing or return the default value that may be null in case that the thread has not been created by an instance of this class. |
Methods in org.apache.felix.eventadmin.impl.dispatch with parameters of type DispatchTask | |
---|---|
void |
ThreadPool.execute(DispatchTask task,
DeliverTask callback)
Execute the task in a free thread or create a new one. |
void |
CacheThreadPool.execute(DispatchTask task,
DeliverTask callback)
Executes the task in a thread out of the pool or a new thread if no pooled thread is available. |
DispatchTask |
ThreadPool.getTask(Thread thread,
DispatchTask defaultTask)
Look-up the task that the given thread is currently executing or return the default value that may be null in case that the thread has not been created by an instance of this class. |
DispatchTask |
CacheThreadPool.getTask(Thread thread,
DispatchTask defaultTask)
Look-up the task that the given thread is currently executing or return the default value that may be null in case that the thread has not been created by an instance of this class. |
Uses of DispatchTask in org.apache.felix.eventadmin.impl.tasks |
---|
Methods in org.apache.felix.eventadmin.impl.tasks with parameters of type DispatchTask | |
---|---|
void |
HandoverTask.execute(DispatchTask task)
Handover the context to another thread. |
void |
AsyncDeliverTasks.execute(DispatchTask task)
Execute the handover in case of timeout or that the asynchronous event dispatching thread is used to send a synchronous event. |
void |
SyncDeliverTasks.execute(DispatchTask task)
Set up a given dispatch task with its ThreadPool in a way that it is associated with a DeliverTask that will push given handler tasks to the queue and then wait for the tasks to be completed. |
Constructors in org.apache.felix.eventadmin.impl.tasks with parameters of type DispatchTask | |
---|---|
ResumeTask(DispatchTask target,
ThreadPool pool)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |