Package org.ujmp.gui.util
Class Executor
- java.lang.Object
-
- java.util.concurrent.AbstractExecutorService
-
- java.util.concurrent.ThreadPoolExecutor
-
- org.ujmp.gui.util.Executor
-
- All Implemented Interfaces:
java.util.concurrent.Executor
,java.util.concurrent.ExecutorService
class Executor extends java.util.concurrent.ThreadPoolExecutor
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class java.util.concurrent.ThreadPoolExecutor
java.util.concurrent.ThreadPoolExecutor.AbortPolicy, java.util.concurrent.ThreadPoolExecutor.CallerRunsPolicy, java.util.concurrent.ThreadPoolExecutor.DiscardOldestPolicy, java.util.concurrent.ThreadPoolExecutor.DiscardPolicy
-
-
Field Summary
Fields Modifier and Type Field Description private static LowPriorityThreadFactory
factory
private java.util.Set<CanBeRepainted>
waitingTasks
-
Constructor Summary
Constructors Constructor Description Executor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setFinished(CanBeRepainted component)
void
sheduleUpdate(CanBeRepainted component)
-
Methods inherited from class java.util.concurrent.ThreadPoolExecutor
afterExecute, allowCoreThreadTimeOut, allowsCoreThreadTimeOut, awaitTermination, beforeExecute, execute, finalize, getActiveCount, getCompletedTaskCount, getCorePoolSize, getKeepAliveTime, getLargestPoolSize, getMaximumPoolSize, getPoolSize, getQueue, getRejectedExecutionHandler, getTaskCount, getThreadFactory, isShutdown, isTerminated, isTerminating, prestartAllCoreThreads, prestartCoreThread, purge, remove, setCorePoolSize, setKeepAliveTime, setMaximumPoolSize, setRejectedExecutionHandler, setThreadFactory, shutdown, shutdownNow, terminated, toString
-
-
-
-
Field Detail
-
factory
private static final LowPriorityThreadFactory factory
-
waitingTasks
private final java.util.Set<CanBeRepainted> waitingTasks
-
-
Method Detail
-
setFinished
public void setFinished(CanBeRepainted component)
-
sheduleUpdate
public void sheduleUpdate(CanBeRepainted component)
-
-