public static final class WebInterfaceWorkersServlet.NodeInfo extends Object implements Comparable<WebInterfaceWorkersServlet.NodeInfo>
Modifier and Type | Method and Description |
---|---|
int |
compareTo(WebInterfaceWorkersServlet.NodeInfo o)
Compare
WebInterfaceWorkersServlet.NodeInfo by lexicographical order of their associated host. |
boolean |
equals(Object o) |
String |
getCapacity() |
int |
getFreeSpacePercent() |
String |
getHost() |
String |
getLastHeartbeat() |
String |
getState() |
String |
getUptimeClockTime() |
String |
getUsedMemory() |
int |
getUsedSpacePercent() |
int |
getWebPort() |
long |
getWorkerId() |
int |
hashCode() |
public String getCapacity()
public int getFreeSpacePercent()
public String getLastHeartbeat()
public String getHost()
public int getWebPort()
public String getState()
public String getUptimeClockTime()
public String getUsedMemory()
public int getUsedSpacePercent()
public long getWorkerId()
public int compareTo(WebInterfaceWorkersServlet.NodeInfo o)
WebInterfaceWorkersServlet.NodeInfo
by lexicographical order of their associated host.compareTo
in interface Comparable<WebInterfaceWorkersServlet.NodeInfo>
o
- the comparison termthis.getHost
is lexicographically "bigger" than
o.getHost
, 0 if the hosts are equal, a negative value otherwise.Copyright © 2023. All Rights Reserved.