- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 243 for unsuccessful (0.04 sec)
-
src/test/java/jcifs/util/SmbCircuitBreakerTest.java
circuitBreaker.trip(); assertEquals(State.OPEN, circuitBreaker.getState(), "Circuit should be OPEN"); // Wait for reset timeout Thread.sleep(1100); // Execute successful operation - should transition to HALF_OPEN then potentially CLOSED String result = circuitBreaker.executeWithCircuitBreaker(() -> "success"); assertEquals("success", result, "Operation should succeed");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 23.2K bytes - Viewed (0) -
samples/tlssurvey/src/main/kotlin/okhttp3/survey/Iana.kt
val url = "https://www.iana.org/assignments/tls-parameters/tls-parameters-4.csv" val call = okHttpClient.newCall(Request(url.toHttpUrl())) val suites = call.executeAsync().use { if (!it.isSuccessful) { throw IOException("Failed ${it.code} ${it.message}") } it.body .string() .lines() .mapNotNull { parseIanaCsvRow(it) } }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 2K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/persistent/HandleInfo.java
* Set the associated file object * @param file the file object */ public void setFile(Object file) { this.file = file; } /** * Update the file ID after successful create response * @param newFileId the new 16-byte file ID */ public void updateFileId(byte[] newFileId) { if (newFileId.length != 16) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 5.9K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/PostMultipart.java
.url("https://api.imgur.com/3/image") .post(requestBody) .build(); try (Response response = client.newCall(request).execute()) { if (!response.isSuccessful()) throw new IOException("Unexpected code " + response); System.out.println(response.body().string()); } } public static void main(String... args) throws Exception { new PostMultipart().run();
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Jun 24 12:59:42 UTC 2019 - 2.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lock/Smb2LockResponse.java
import jcifs.internal.SMBProtocolDecodingException; import jcifs.internal.smb2.ServerMessageBlock2Response; import jcifs.internal.util.SMBUtil; /** * SMB2 Lock response message. This response acknowledges the successful * acquisition or release of byte-range locks. * * @author mbechler * */ public class Smb2LockResponse extends ServerMessageBlock2Response { /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.1K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/RewriteResponseCacheControl.java
} else { System.out.println("Force cache: false"); clientForCall = client; } try (Response response = clientForCall.newCall(request).execute()) { if (!response.isSuccessful()) throw new IOException("Unexpected code " + response); System.out.println(" Network: " + (response.networkResponse() != null)); System.out.println(); } } }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Jan 12 03:31:36 UTC 2019 - 2.6K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/FutureCallback.java
* * @author Anthony Zana * @since 10.0 */ @GwtCompatible public interface FutureCallback<V extends @Nullable Object> { /** Invoked with the result of the {@code Future} computation when it is successful. */ void onSuccess(@ParametricNullness V result); /** * Invoked when a {@code Future} computation fails or is canceled. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 1.5K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/CacheStats.java
* added to {@code totalLoadTime}. * <li>Cache lookups that encounter a missing cache entry that is still loading will wait * for loading to complete (whether successful or not) and then increment {@code * missCount}. * </ul> * <li>When an entry is evicted from the cache, {@code evictionCount} is incremented.
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Jul 08 18:32:10 UTC 2025 - 12.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/rdma/RdmaStatistics.java
*/ public void recordReadRequest(int bytes) { // Track that a read was requested rdmaReads.incrementAndGet(); } /** * Record successful completion of a read request * * @param bytes number of bytes successfully read * @param durationNanos operation duration in nanoseconds */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 24 00:12:28 UTC 2025 - 10.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/DataIndexHelper.java
* <li>Concurrent crawling of multiple data configurations</li> * <li>Thread pool management for crawler execution</li> * <li>Session-based crawling with cleanup operations</li> * <li>Old document deletion after successful crawling</li> * <li>Crawling execution monitoring and timing</li> * </ul> */ public class DataIndexHelper { /** Logger instance for this class */
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 18.9K bytes - Viewed (0)