Modifier and Type | Method and Description |
---|---|
Route |
Connection.getRoute()
Returns the route used by this connection.
|
Modifier and Type | Method and Description |
---|---|
void |
RouteDatabase.connected(Route route)
Deprecated.
Records success connecting to
failedRoute . |
void |
RouteDatabase.failed(Route failedRoute)
Deprecated.
Records a failure connecting to
failedRoute . |
boolean |
RouteDatabase.shouldPostpone(Route route)
Deprecated.
Returns true if
route has failed recently and should be avoided. |
Constructor and Description |
---|
Connection(ConnectionPool pool,
Route route) |
Copyright © 2014. All Rights Reserved.