Package com.veertu
Class WeighedURL
- java.lang.Object
-
- com.veertu.WeighedURL
-
public class WeighedURL extends Object
-
-
Constructor Summary
Constructors Constructor Description WeighedURL(String url)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getLatency()
String
getUrl()
int
getWeight()
boolean
isFailed()
void
setFailed(boolean b)
void
setLatency(int latency)
void
setWeight(int startWeight)
-
-
-
Constructor Detail
-
WeighedURL
public WeighedURL(String url)
-
-
Method Detail
-
getUrl
public String getUrl()
-
getWeight
public int getWeight()
-
getLatency
public int getLatency()
-
isFailed
public boolean isFailed()
-
setWeight
public void setWeight(int startWeight)
-
setFailed
public void setFailed(boolean b)
-
setLatency
public void setLatency(int latency)
-
-