|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.epics.pvmanager.util.Executors
public class Executors
Factory and utility methods to for the Executor framework.
Constructor Summary | |
---|---|
Executors()
|
Method Summary | |
---|---|
static Executor |
localThread()
Executes tasks on the current thread. |
static ThreadFactory |
namedPool(String poolName)
A thread factory where each new thread starts with the given name. |
static Executor |
swingEDT()
Executes tasks on the Swing Event Dispatch Thread using SwingUtilities.invokeLater(). |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Executors()
Method Detail |
---|
public static Executor swingEDT()
public static Executor localThread()
public static ThreadFactory namedPool(String poolName)
Executors.defaultThreadFactory()
,
which unfortunately
only use generic names for the thread, which makes it harder to debug.
poolName
- name of the pool
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |