- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 129 for healthy (0.34 seconds)
-
android/guava/src/com/google/common/util/concurrent/ServiceManager.java
/** * Waits for the {@link ServiceManager} to become {@linkplain #isHealthy() healthy}. The manager * will become healthy after all the component services have reached the {@linkplain State#RUNNING * running} state. * * @throws IllegalStateException if the service manager reaches a state from which it cannot * become {@linkplain #isHealthy() healthy}. */ public void awaitHealthy() { state.awaitHealthy();Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 33.2K bytes - Click Count (1) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealRoutePlanner.kt
// Make sure this connection is healthy & eligible for new exchanges. If it's no longer needed // then we're on the hook to close it. val healthy = candidate.isHealthy(doExtensiveHealthChecks) var noNewExchangesEvent = false val toClose: Socket? = candidate.withLock { when { !healthy -> { noNewExchangesEvent = !candidate.noNewExchangesCreated: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 12.1K bytes - Click Count (0) -
cmd/metrics-v3-cluster-erasure-set.go
poolIDL, setIDL) erasureSetReadHealthMD = NewGaugeMD(erasureSetReadHealth, "Health of the erasure set in a pool for read operations (1=healthy, 0=unhealthy)", poolIDL, setIDL) erasureSetWriteHealthMD = NewGaugeMD(erasureSetWriteHealth, "Health of the erasure set in a pool for write operations (1=healthy, 0=unhealthy)", poolIDL, setIDL) ) func b2f(v bool) float64 { if v { return 1 } return 0
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue May 14 07:25:56 GMT 2024 - 4.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java
* This is for covering a case where the ServiceManager would behave strangely if constructed with * no service under management. Listeners would never fire because the ServiceManager was healthy * and stopped at the same time. This test ensures that listeners fire and isHealthy makes sense. */ public void testEmptyServiceManager() { Logger logger = Logger.getLogger(ServiceManager.class.getName()); logger.setLevel(Level.FINEST);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 25.6K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/multichannel/ChannelLoadBalancer.java
* @throws NoAvailableChannelException if no healthy channels available */ public ChannelInfo selectChannel(CommonServerMessageBlock message) throws NoAvailableChannelException { Collection<ChannelInfo> availableChannels = manager.getHealthyChannels(); if (availableChannels.isEmpty()) { throw new NoAvailableChannelException("No healthy channels available"); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 8.2K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/multichannel/ChannelInfo.java
*/ public long getIdleTime() { return System.currentTimeMillis() - lastActivityTime; } /** * Check if channel is in healthy state * * @return true if healthy */ public boolean isHealthy() { return state == ChannelState.ACTIVE || state == ChannelState.ESTABLISHED; } /** * Get channel binding hash *Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 11:13:46 GMT 2025 - 10.6K bytes - Click Count (0) -
src/main/java/jcifs/smb/MultiChannelManager.java
public void decrementConnections() { activeConnections.decrementAndGet(); } public boolean isHealthy() { return isHealthy; } public void setHealthy(boolean healthy) { this.isHealthy = healthy; this.lastHealthCheck = System.currentTimeMillis(); } public long getLastHealthCheck() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 20.5K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/ServerTruncatesRequestTest.kt
} } private fun makeSimpleCall() { server.enqueue(MockResponse(body = "healthy")) val callB = client.newCall(Request(server.url("/"))) callB.execute().use { response -> assertThat(response.body.string()).isEqualTo("healthy") } } private fun enableProtocol(protocol: Protocol) { enableTls() client = client
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Jan 11 11:54:15 GMT 2026 - 10.7K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/multichannel/MultiChannelIntegrationTest.java
when(mockRequest.getTreeId()).thenReturn(123); // Should throw NoAvailableChannelException when no healthy channels assertThrows(ChannelLoadBalancer.NoAvailableChannelException.class, () -> loadBalancer.selectChannel(mockRequest), "Should throw exception when no healthy channels available"); }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 11:13:46 GMT 2025 - 8.2K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnectionPool.kt
true } } } if (!acquired) continue // Confirm the connection is healthy and return it. if (connection.isHealthy(doExtensiveHealthChecks)) return connection // In the second synchronized block, release the unhealthy acquired connection. We're also on // the hook to close this connection if it's no longer in use. val noNewExchangesEvent: BooleanCreated: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 11.1K bytes - Click Count (0)