Package com.intellij.util.concurrency
Class EdtExecutorService
java.lang.Object
java.util.concurrent.AbstractExecutorService
com.intellij.util.concurrency.EdtExecutorService
- All Implemented Interfaces:
AutoCloseable,Executor,ExecutorService
ExecutorService implementation which delegates tasks for execution to the SwingUtilities.invokeLater(task)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanawaitTermination(long timeout, TimeUnit unit) voidstatic ExecutorServicestatic ScheduledExecutorServicebooleanbooleanvoidshutdown()Methods inherited from class java.util.concurrent.AbstractExecutorService
invokeAll, invokeAll, invokeAny, invokeAny, newTaskFor, newTaskFor, submit, submit, submitMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.concurrent.ExecutorService
close
-
Constructor Details
-
EdtExecutorService
public EdtExecutorService()
-
-
Method Details
-
getInstance
-
getScheduledExecutorInstance
-
execute
-
shutdown
public void shutdown() -
shutdownNow
-
isShutdown
public boolean isShutdown() -
isTerminated
public boolean isTerminated() -
awaitTermination
- Throws:
InterruptedException
-