-
Notifications
You must be signed in to change notification settings - Fork 18
Expand file tree
/
Copy pathDispatch.java
More file actions
41 lines (32 loc) · 874 Bytes
/
Dispatch.java
File metadata and controls
41 lines (32 loc) · 874 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
package com.apple.concurrent;
import java.util.concurrent.Executor;
import java.util.concurrent.ExecutorService;
public final class Dispatch
{
static RuntimeException unimplemented()
{
return new RuntimeException("Unimplemented");
}
public static Dispatch getInstance() {
throw unimplemented();
}
public Executor getAsyncExecutor(Priority paramPriority) {
throw unimplemented();
}
public ExecutorService createSerialExecutor(String paramString) {
throw unimplemented();
}
public Executor getNonBlockingMainQueueExecutor() {
throw unimplemented();
}
public Executor getBlockingMainQueueExecutor() {
throw unimplemented();
}
public static enum Priority
{
LOW(-2), NORMAL(0), HIGH(2);
private Priority(int paramInt)
{
}
}
}