public class LoadInfo extends Object implements Externalizable, Comparable
WorkpoolServer| Modifier and Type | Field and Description |
|---|---|
String |
hostname |
int |
load |
boolean |
tsMatch |
| Constructor and Description |
|---|
LoadInfo() |
LoadInfo(int load,
String myHost) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Object obj) |
void |
readExternal(ObjectInput in) |
String |
toString() |
void |
writeExternal(ObjectOutput out) |
public int load
public boolean tsMatch
public String hostname
public LoadInfo(int load,
String myHost)
load - The initial loadmyHost - The hostname of the WorkpoolServer this LoadInfo belongs topublic LoadInfo()
public int compareTo(Object obj)
compareTo in interface Comparablepublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizableIOExceptionClassNotFoundExceptionpublic void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizableIOException