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 int
CORES_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 long
currentJobIndex()
static int
currentTaskIndex()
void
dispose()
static void
execute(Runnable task)
static void
resume()
static void
suspend()
-
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:
createJob
in classJobScheduler
-
dispose
public void dispose()
- Specified by:
dispose
in interfaceDisposable
-
-