本文整理了Java中okhttp3.ConnectionPool.connectionBecameIdle()
方法的一些代码示例,展示了ConnectionPool.connectionBecameIdle()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。ConnectionPool.connectionBecameIdle()
方法的具体详情如下:
包路径:okhttp3.ConnectionPool
类名称:ConnectionPool
方法名:connectionBecameIdle
[英]Notify this pool that connection has become idle. Returns true if the connection has been removed from the pool and should be closed.
[中]通知此池连接已处于空闲状态。如果连接已从池中删除并应关闭,则返回true。
代码示例来源:origin: square/okhttp
@Override public boolean connectionBecameIdle(
ConnectionPool pool, RealConnection connection) {
return pool.connectionBecameIdle(connection);
}
代码示例来源:origin: com.squareup.okhttp3/okhttp
@Override public boolean connectionBecameIdle(
ConnectionPool pool, RealConnection connection) {
return pool.connectionBecameIdle(connection);
}
代码示例来源:origin: huxq17/tractor
@Override public boolean connectionBecameIdle(
ConnectionPool pool, RealConnection connection) {
return pool.connectionBecameIdle(connection);
}
代码示例来源:origin: apache/servicemix-bundles
@Override public boolean connectionBecameIdle(
ConnectionPool pool, RealConnection connection) {
return pool.connectionBecameIdle(connection);
}
代码示例来源:origin: huxq17/SwipeCardsView
@Override public boolean connectionBecameIdle(
ConnectionPool pool, RealConnection connection) {
return pool.connectionBecameIdle(connection);
}
代码示例来源:origin: duzechao/OKHttpUtils
@Override public boolean connectionBecameIdle(
ConnectionPool pool, RealConnection connection) {
return pool.connectionBecameIdle(connection);
}
代码示例来源:origin: com.github.ljun20160606/okhttp
@Override public boolean connectionBecameIdle(
ConnectionPool pool, RealConnection connection) {
return pool.connectionBecameIdle(connection);
}
内容来源于网络,如有侵权,请联系作者删除!