|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.cosylab.epics.caj.impl.reactor.lf.LeaderFollowersThreadPool
public class LeaderFollowersThreadPool
| Field Summary | |
|---|---|
static int |
DEFAULT_THREADPOOL_SIZE
Default thread pool size. |
| Constructor Summary | |
|---|---|
LeaderFollowersThreadPool()
Constructor. |
|
| Method Summary | |
|---|---|
void |
execute(Runnable task)
Execute given task. |
void |
promoteLeader(Runnable task)
Promote a new leader. |
void |
shutdown()
Shutdown. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int DEFAULT_THREADPOOL_SIZE
| Constructor Detail |
|---|
public LeaderFollowersThreadPool()
| Method Detail |
|---|
public void promoteLeader(Runnable task)
task - task to execute by a new leader.public void execute(Runnable task)
task - task to execute.public void shutdown()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||