public class DataTransferTimeCalculator extends java.lang.Object implements java.lang.Comparable<DataTransferTimeCalculator>
Constructor and Description |
---|
DataTransferTimeCalculator(java.lang.String nodename,
double requiredDatatransferTime) |
DataTransferTimeCalculator(java.lang.String nodename,
double dataTransferTime,
java.lang.String datanode) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(DataTransferTimeCalculator o) |
boolean |
equals(java.lang.Object o) |
java.lang.String |
getDataNode() |
java.lang.String |
getNodeName() |
java.lang.Double |
getRequiredDataTransferTime() |
int |
getTaskIndex() |
int |
hashCode() |
DataTransferTimeCalculator |
setDataNode(java.lang.String datanode) |
DataTransferTimeCalculator |
setNodeName(java.lang.String nodename) |
DataTransferTimeCalculator |
setRequiredDataTransferTime(java.lang.Double requiredDatatransferTime) |
DataTransferTimeCalculator |
setTaskIndex(int taskindex) |
public DataTransferTimeCalculator(java.lang.String nodename, double dataTransferTime, java.lang.String datanode)
public DataTransferTimeCalculator(java.lang.String nodename, double requiredDatatransferTime)
public DataTransferTimeCalculator setNodeName(java.lang.String nodename)
public java.lang.String getDataNode()
public DataTransferTimeCalculator setDataNode(java.lang.String datanode)
public int getTaskIndex()
public DataTransferTimeCalculator setTaskIndex(int taskindex)
public java.lang.String getNodeName()
public java.lang.Double getRequiredDataTransferTime()
public DataTransferTimeCalculator setRequiredDataTransferTime(java.lang.Double requiredDatatransferTime)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public int compareTo(DataTransferTimeCalculator o)
compareTo
in interface java.lang.Comparable<DataTransferTimeCalculator>