|
||||||||||
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 java.util.concurrent.Executor |
localThread()
Executes tasks on the current thread. |
static java.util.concurrent.ThreadFactory |
namedPool(java.lang.String poolName)
A thread factory where each new thread starts with the given name. |
static java.util.concurrent.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 java.util.concurrent.Executor swingEDT()
public static java.util.concurrent.Executor localThread()
public static java.util.concurrent.ThreadFactory namedPool(java.lang.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 |