public final class RouteDatabase extends Object
| Constructor and Description |
|---|
RouteDatabase()
|
| Modifier and Type | Method and Description |
|---|---|
void |
connected(Route
Records success connecting to
failedRoute.
|
void |
failed(Route
Records a failure connecting to
failedRoute.
|
int |
failedRoutesCount()
|
boolean |
shouldPostpone(Route
Returns true if
route has failed recently and should be avoided.
|
public void failed(RoutefailedRoute)
failedRoute.
public void connected(Routeroute)
failedRoute.
public boolean shouldPostpone(Routeroute)
route has failed recently and should be avoided.
public int failedRoutesCount()