public class DuccSchedulerClasses extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
FAIR_SHARE |
static String |
FIXED_SHARE |
static String |
JobDriver |
static String |
RESERVE |
| Modifier and Type | Method and Description |
|---|---|
Map<String,DuccProperties> |
getClasses() |
String |
getDebugClassDefaultName()
Need a default debug class for debug jobs with no scheduling class
|
String |
getDebugClassSpecificName(String class_name) |
String |
getDefaultClassName() |
String[] |
getFixedClasses() |
static DuccSchedulerClasses |
getInstance() |
String |
getNodepool(String node)
Get nodepool for specified node, else empty string
|
String |
getProperty(Properties properties,
String name) |
String |
getReserveClassDefaultName() |
String[] |
getReserveClasses() |
boolean |
isPreemptable(String class_name) |
NodeConfiguration |
readConfiguration() |
public static final String FAIR_SHARE
public static final String FIXED_SHARE
public static final String RESERVE
public static final String JobDriver
public static DuccSchedulerClasses getInstance()
public String getProperty(Properties properties, String name)
public NodeConfiguration readConfiguration() throws Exception
Exceptionpublic Map<String,DuccProperties> getClasses() throws Exception
Exceptionpublic String getNodepool(String node)
public String getDebugClassDefaultName() throws Exception
Exceptionpublic String getDebugClassSpecificName(String class_name) throws Exception
ExceptionCopyright © 2012–2017 The Apache Software Foundation. All rights reserved.