- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for releaseConnectionNoEvents (0.21 sec)
-
okhttp/src/main/kotlin/okhttp3/internal/connection/CallConnectionUser.kt
} override fun acquireConnectionNoEvents(connection: RealConnection) { call.acquireConnectionNoEvents(connection) } override fun releaseConnectionNoEvents(): Socket? { return call.releaseConnectionNoEvents() } override fun connectionReleased(connection: Connection) { eventListener.connectionReleased(call, connection) }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Wed Mar 06 17:33:38 UTC 2024 - 3.6K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/connection/RealRoutePlanner.kt
noNewExchangesEvent = !candidate.noNewExchanges candidate.noNewExchanges = true connectionUser.releaseConnectionNoEvents() } candidate.noNewExchanges || !sameHostAndPort(candidate.route().address.url) -> { connectionUser.releaseConnectionNoEvents() } else -> null } }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Apr 20 17:03:43 UTC 2024 - 12K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/connection/ConnectionUser.kt
route: Route, protocol: Protocol?, e: IOException, ) fun connectionAcquired(connection: Connection) fun acquireConnectionNoEvents(connection: RealConnection) fun releaseConnectionNoEvents(): Socket? fun connectionReleased(connection: Connection) fun connectionConnectionAcquired(connection: RealConnection) fun connectionConnectionReleased(connection: RealConnection)
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Fri Apr 05 03:30:42 UTC 2024 - 2.2K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/connection/PoolConnectionUser.kt
e: IOException, ) { } override fun connectionAcquired(connection: Connection) { } override fun acquireConnectionNoEvents(connection: RealConnection) { } override fun releaseConnectionNoEvents(): Socket? { return null } override fun connectionReleased(connection: Connection) { } override fun connectionConnectionAcquired(connection: RealConnection) { }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Wed Apr 03 20:39:41 UTC 2024 - 2.6K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/connection/RealCall.kt
if (connection != null) { connection.lock.assertNotHeld() val toClose: Socket? = connection.withLock { // Sets this.connection to null. releaseConnectionNoEvents() } if (this.connection == null) { toClose?.closeQuietly() eventListener.connectionReleased(this, connection)
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Apr 20 17:03:43 UTC 2024 - 17.9K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/connection/RealConnectionPool.kt
val toClose: Socket? = connection.withLock { noNewExchangesEvent = !connection.noNewExchanges connection.noNewExchanges = true connectionUser.releaseConnectionNoEvents() } if (toClose != null) { toClose.closeQuietly() connectionListener.connectionClosed(connection) } else if (noNewExchangesEvent) {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Apr 20 17:03:43 UTC 2024 - 16.2K bytes - Viewed (0)