public class Scheduler extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
Scheduler.GroupInfo |
class |
Scheduler.JobInfo |
class |
Scheduler.ProcessInfo |
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_GROUP_NAME |
static int |
EVICTION_ETERNAL |
| Constructor and Description |
|---|
Scheduler() |
| Modifier and Type | Method and Description |
|---|---|
void |
cancel(PeerChannel<CancelInput> cancelChannel) |
void |
close() |
void |
listGroups(PeerChannel<Void> channel,
boolean noHeaders) |
void |
listJobs(PeerChannel<Void> channel,
boolean noHeaders) |
void |
submit(PeerChannel<SubmitInput> submitChannel) |
void |
updateGroup(PeerChannel<GroupInput> channel) |
public static final String DEFAULT_GROUP_NAME
public static final int EVICTION_ETERNAL
public Scheduler()
throws NonRootUserException,
IOException,
InterruptedException
public void submit(PeerChannel<SubmitInput> submitChannel) throws IOException, InterruptedException
IOExceptionInterruptedExceptionpublic void listGroups(PeerChannel<Void> channel, boolean noHeaders) throws IOException, InterruptedException
IOExceptionInterruptedExceptionpublic void listJobs(PeerChannel<Void> channel, boolean noHeaders) throws IOException, InterruptedException
IOExceptionInterruptedExceptionpublic void cancel(PeerChannel<CancelInput> cancelChannel) throws IOException, InterruptedException
IOExceptionInterruptedExceptionpublic void updateGroup(PeerChannel<GroupInput> channel) throws IOException
IOExceptionpublic void close()
Copyright © 2010–2016. All rights reserved.