Package com.intellij.concurrency
Class JobSchedulerImpl
- java.lang.Object
-
- com.intellij.concurrency.JobScheduler
-
- com.intellij.concurrency.JobSchedulerImpl
-
- All Implemented Interfaces:
Disposable
@NonNls public class JobSchedulerImpl extends JobScheduler implements Disposable
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.intellij.openapi.Disposable
Disposable.Parent
-
-
Field Summary
Fields Modifier and Type Field Description static intCORES_COUNT
-
Constructor Summary
Constructors Constructor Description JobSchedulerImpl()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> Job<T>createJob(String title, int priority)static longcurrentJobIndex()static intcurrentTaskIndex()voiddispose()static voidexecute(Runnable task)static voidresume()static voidsuspend()-
Methods inherited from class com.intellij.concurrency.JobScheduler
getScheduler
-
-
-
-
Method Detail
-
execute
public static void execute(Runnable task)
-
currentTaskIndex
public static int currentTaskIndex()
-
currentJobIndex
public static long currentJobIndex()
-
suspend
public static void suspend()
-
resume
public static void resume()
-
createJob
public <T> Job<T> createJob(String title, int priority)
- Specified by:
createJobin classJobScheduler
-
dispose
public void dispose()
- Specified by:
disposein interfaceDisposable
-
-