public class RmQueriedMachine extends Object implements Serializable
| Constructor and Description |
|---|
RmQueriedMachine(String name,
String nodepoolId,
long memory,
int order,
boolean blacklisted) |
| Modifier and Type | Method and Description |
|---|---|
void |
addShare(RmQueriedShare rqs) |
String |
getId()
Returns the name of the machin.
|
long |
getMemory()
Returns the amount of RAM in KB (kilobytes) on the machine.
|
int |
getShareOrder()
Returns the share order of the machine.
|
List<RmQueriedShare> |
getShares()
Return the list of shares scheduled to this host.
|
boolean |
isBlacklisted()
Returns whether the machine is blacklisted.
|
boolean |
isOnline()
Returns whether the machine is varied online.
|
boolean |
isResponsive()
Indicates whether the machine is sending heartbeats.
|
void |
setOffline() |
void |
setUnresponsive() |
String |
toString() |
public void setOffline()
public void setUnresponsive()
public void addShare(RmQueriedShare rqs)
public List<RmQueriedShare> getShares()
shares.public String getId()
public long getMemory()
public int getShareOrder()
public boolean isBlacklisted()
public boolean isOnline()
public boolean isResponsive()
Copyright © 2012–2015 The Apache Software Foundation. All rights reserved.