|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.felix.eventadmin.impl.tasks.BlockTask
public class BlockTask
This task will can be used to block a thread that subsequently will be unblocked once the task is executed.
| Constructor Summary | |
|---|---|
BlockTask()
|
|
| Method Summary | |
|---|---|
void |
blackListHandler()
This methods does nothing since we only need this task to block and unblock threads. |
void |
block()
Block the calling thread until this task is executed. |
void |
execute()
Unblock possibly blocking threads. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BlockTask()
| Method Detail |
|---|
public void execute()
execute in interface HandlerTaskHandlerTask.execute()public void blackListHandler()
blackListHandler in interface HandlerTaskHandlerTask.blackListHandler()public void block()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||