public final class RouteDatabase extends Object
| Constructor and Description |
|---|
RouteDatabase() |
| Modifier and Type | Method and Description |
|---|---|
void |
connected(Route route)
Records success connecting to
route. |
void |
failed(Route failedRoute)
Records a failure connecting to
failedRoute. |
boolean |
shouldPostpone(Route route)
Returns true if
route has failed recently and should be avoided. |
public void failed(Route failedRoute)
failedRoute.public void connected(Route route)
route.public boolean shouldPostpone(Route route)
route has failed recently and should be avoided.Copyright © 2017. All Rights Reserved.