public class RmAdminQLoadReply extends RmAdminReply
Constructor and Description |
---|
RmAdminQLoadReply() |
Modifier and Type | Method and Description |
---|---|
void |
addClass(RmQueriedClass cl) |
void |
addNodepool(RmQueriedNodepool np) |
List<RmQueriedClass> |
getClasses() |
List<RmQueriedNodepool> |
getNodepools() |
long |
getShareQuantum() |
boolean |
isReady() |
void |
notReady() |
void |
setShareQuantum(long q) |
String |
toString()
The compact format creates a Python structure of this form:
A dictionary with these keys:
quantum
value is a single integer
classes
value is a list of dictionaries describing demand
with these keys
name
value is string, the name of the class
policy
value is the scheduling policy
requested
value is a list of integers
awarded
value is a list of integers
nodepools
value is a list of dictionaries describing a node pool
with these keys
name
value is the namne of the nodepool
online
value is an integer
dead
value is an integer
offline
value is an integer
total-shares
value is an integer
free-shares
value is an integer
all-machines
value is a list of integers
online-machines
value is a list of integers
free-machines
value is a list of integers
virtual-machines
value is a list of integers
|
getMessage, getRc, setMessage, setRc
public void setShareQuantum(long q)
public void addNodepool(RmQueriedNodepool np)
public void addClass(RmQueriedClass cl)
public long getShareQuantum()
public List<RmQueriedNodepool> getNodepools()
nodepool
details.public List<RmQueriedClass> getClasses()
class
details.public void notReady()
notReady
in class RmAdminReply
public boolean isReady()
isReady
in class RmAdminReply
public String toString()
Copyright © 2012–2019 The Apache Software Foundation. All rights reserved.