- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 165 for Draining (0.12 sec)
-
guava/src/com/google/common/util/concurrent/Striped.java
if (existing != null) { return existing; } } drainQueue(); return created; } // N.B. Draining the queue is only necessary to ensure that we don't accumulate empty references // in the array. We could skip this if we decide we don't care about holding on to Reference // objects indefinitely.
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 16 22:01:32 UTC 2025 - 20.6K bytes - Viewed (0) -
internal/grid/connection.go
func (c *Connection) reconnected() { c.updateState(StateConnectionError) c.reconnects.Add(1) // Drain the outQueue, so any blocked messages can be sent. // We keep the queue, but start draining it, if it gets full. stopDraining := make(chan struct{}) var wg sync.WaitGroup wg.Add(1) defer func() { close(stopDraining) wg.Wait() }() go func() { defer wg.Done() for {
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 46.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/OptionalTest.java
public void testIsPresent_yes() { assertTrue(Optional.of("training").isPresent()); } public void testGet_absent() { Optional<String> optional = Optional.absent(); assertThrows(IllegalStateException.class, optional::get); } public void testGet_present() { assertEquals("training", Optional.of("training").get()); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 16:03:47 UTC 2025 - 10.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/job/ExecJob.java
* @return this ExecJob instance for method chaining */ public ExecJob jobExecutor(final JobExecutor jobExecutor) { this.jobExecutor = jobExecutor; return this; } /** * Sets the session ID for this job execution. * * @param sessionId the unique session identifier * @return this ExecJob instance for method chaining */Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 14.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/rank/fusion/SearchResult.java
*/ public SearchResultBuilder addDocument(final Map<String, Object> doc) { documentList.add(doc); return this; } /** * Sets the facet response containing aggregated facet information. * * @param facetResponse The facet response * @return This builder instance for method chaining */Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 8.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/CommonServerMessageBlockRequest.java
* * @return create cancel request */ CommonServerMessageBlockRequest createCancel(); /** * Checks if chaining is allowed with the next request. * * @param next the next request in the chain * @return whether to allow chaining */ boolean allowChain(CommonServerMessageBlockRequest next); /** * Sets the tree ID. * * @param t the tree ID to setRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.4K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/ExtractorBuilder.java
* @return this builder instance for method chaining */ public ExtractorBuilder mimeType(final String mimeType) { this.mimeType = mimeType; return this; } /** * Sets the filename of the content to extract. * * @param filename the filename to set * @return this builder instance for method chaining */Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 10.1K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/builder/RequestDataBuilder.java
import org.codelibs.fess.crawler.entity.RequestData.Method; /** * Builder class for creating RequestData objects using a fluent interface. * This class provides a simple way to construct RequestData objects with method chaining. * * <p>Usage example:</p> * <pre> * RequestData request = RequestDataBuilder.newRequestData() * .method("GET") * .url("https://example.com") * .weight(1.0f) * .build(); * </pre>
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 4.3K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/CacheBuilder.java
return from(CacheBuilderSpec.parse(spec)); } /** * Enables lenient parsing. Useful for tests and spec parsing. * * @return this {@code CacheBuilder} instance (for chaining) */ @GwtIncompatible // To be supported @CanIgnoreReturnValue CacheBuilder<K, V> lenientParsing() { strictParsing = false; return this; } /**
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Oct 08 18:55:33 UTC 2025 - 51.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/settings/SuggestSettingsBuilderTest.java
// Test setting index name with lowercase conversion SuggestSettingsBuilder result = builder.setSettingsIndexName("TEST_INDEX"); assertEquals(builder, result); // Test method chaining assertEquals("test_index", builder.settingsIndexName); // Test setting index name with mixed case builder.setSettingsIndexName("TeSt_InDeX_NaMe");Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Sep 01 13:33:03 UTC 2025 - 14.4K bytes - Viewed (0)