public class WeighedURL extends Object
Constructor and Description |
---|
WeighedURL(String url) |
Modifier and Type | Method and Description |
---|---|
int |
getLatency() |
String |
getUrl() |
int |
getWeight() |
boolean |
isFailed() |
void |
setFailed(boolean b) |
void |
setLatency(int latency) |
void |
setWeight(int startWeight) |
public WeighedURL(String url)
public String getUrl()
public int getWeight()
public int getLatency()
public boolean isFailed()
public void setWeight(int startWeight)
public void setFailed(boolean b)
public void setLatency(int latency)
Copyright © 2016–2019. All rights reserved.