- Sort Score
- Num 10 results
- Language All
Results 11 - 20 of 27 for ConcurrentLinkedQueue (0.09 seconds)
-
android/guava/src/com/google/common/eventbus/Dispatcher.java
// probably provide a stronger order guarantee, though that order would obviously be different // in some cases. /** Global event queue. */ private final ConcurrentLinkedQueue<EventWithSubscriber> queue = new ConcurrentLinkedQueue<>(); @Override void dispatch(Object event, Iterator<Subscriber> subscribers) { checkNotNull(event); while (subscribers.hasNext()) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 7.4K bytes - Click Count (0) -
fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlQueueService.java
* The queue for URLs waiting to be crawled. */ protected Queue<OpenSearchUrlQueue> waitingQueue = new ConcurrentLinkedQueue<>(); /** * The queue for URLs currently being crawled. */ protected Queue<OpenSearchUrlQueue> crawlingQueue = new ConcurrentLinkedQueue<>(); } /** * Sets the polling fetch size. * @param pollingFetchSize The polling fetch size.Created: Sun Apr 12 03:50:13 GMT 2026 - Last Modified: Thu Nov 20 08:40:57 GMT 2025 - 16.9K bytes - Click Count (1) -
src/main/java/jcifs/audit/SecurityAuditLogger.java
// Object pools for performance optimization private final Queue<AuditEntry> auditEntryPool = new ConcurrentLinkedQueue<>(); private final Queue<StringBuilder> stringBuilderPool = new ConcurrentLinkedQueue<>(); private final Queue<HashMap<String, Object>> mapPool = new ConcurrentLinkedQueue<>(); // Asynchronous loggingCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 26.6K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/BufferCache.java
private static final int MAX_BUFFER_SIZE = 0x100000; // 1MB maximum // Use concurrent queue for lock-free operations private static final java.util.concurrent.ConcurrentLinkedQueue<byte[]> bufferQueue = new java.util.concurrent.ConcurrentLinkedQueue<>(); // Track queue size with atomic counter for efficiencyCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 4.2K bytes - Click Count (0) -
guava-tests/test/com/google/common/cache/LocalCacheMapComputeTest.java
import static org.junit.Assert.assertThrows; import com.google.common.util.concurrent.UncheckedExecutionException; import java.util.ArrayList; import java.util.List; import java.util.Queue; import java.util.concurrent.ConcurrentLinkedQueue; import java.util.concurrent.ExecutionException; import java.util.function.IntConsumer; import java.util.stream.IntStream; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 6.4K bytes - Click Count (0) -
src/main/java/org/codelibs/core/crypto/CachedCipher.java
/** * The queue of ciphers for encryption. */ protected Queue<Cipher> encryptoQueue = new ConcurrentLinkedQueue<>(); /** * The queue of ciphers for decryption. */ protected Queue<Cipher> decryptoQueue = new ConcurrentLinkedQueue<>(); /** * Encrypts the given data. * * @param data * the data to encryptCreated: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat Nov 22 11:21:59 GMT 2025 - 15.9K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/suggest/index/contents/document/ESSourceReader.java
*/ package org.codelibs.fess.suggest.index.contents.document; import java.util.ArrayList; import java.util.List; import java.util.Map; import java.util.Queue; import java.util.concurrent.ConcurrentLinkedQueue; import java.util.concurrent.atomic.AtomicBoolean; import java.util.concurrent.atomic.AtomicLong; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger;
Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Mon Nov 24 03:40:05 GMT 2025 - 11.1K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/SearchLogHelper.java
protected int userInfoCacheSize = 10000; /** Queue for storing search logs. */ protected Queue<SearchLog> searchLogQueue = new ConcurrentLinkedQueue<>(); /** Queue for storing click logs. */ protected Queue<ClickLog> clickLogQueue = new ConcurrentLinkedQueue<>(); /** Cache for storing user information. */ protected LoadingCache<String, UserInfo> userInfoCache;Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 02:24:08 GMT 2026 - 29.3K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnectionPool.kt
* See the License for the specific language governing permissions and * limitations under the License. */ package okhttp3.internal.connection import java.net.Socket import java.util.concurrent.ConcurrentLinkedQueue import java.util.concurrent.TimeUnit import okhttp3.Address import okhttp3.ConnectionPool import okhttp3.Route import okhttp3.internal.closeQuietly import okhttp3.internal.concurrent.Task
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 11.1K bytes - Click Count (0) -
docs/contribute/concurrency.md
#### Per-Connection Locks Each connection has its own lock. The connections in the pool are all in a `ConcurrentLinkedQueue`. Due to data races, iterators of this queue may return removed connections. Callers must check the connection's `noNewExchanges` property before using connections from the pool.
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Feb 06 16:35:36 GMT 2022 - 7K bytes - Click Count (0)