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