- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for synchronizedList (0.06 sec)
-
src/test/java/jcifs/smb/SmbSessionImplSecurityTest.java
CountDownLatch endLatch = new CountDownLatch(threadCount); AtomicInteger successCount = new AtomicInteger(0); List<Exception> exceptions = Collections.synchronizedList(new ArrayList<>()); // When - Multiple threads accessing trees concurrently for (int t = 0; t < threadCount; t++) { final int threadId = t; executor.submit(() -> {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 11K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/index/writer/SuggestWriterResult.java
// nothing } /** * A list of Throwables representing failures that occurred during the operation. */ protected List<Throwable> failures = Collections.synchronizedList(new ArrayList<>()); /** * Adds a Throwable to the list of failures. * * @param t the Throwable to add */ public void addFailure(final Throwable t) { failures.add(t);
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Fri Jul 04 14:00:23 UTC 2025 - 1.9K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/ListenerCallQueue.java
private static final LazyLogger logger = new LazyLogger(ListenerCallQueue.class); // TODO(chrisn): promote AppendOnlyCollection for use here. private final List<PerListenerQueue<L>> listeners = Collections.synchronizedList(new ArrayList<PerListenerQueue<L>>()); /** Method reference-compatible listener event. */ interface Event<L> { /** Call a method on the listener. */ void call(L listener); } /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 8.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTimingAttackTest.java
final int threadCount = 10; final int operationsPerThread = 100; final ExecutorService executor = Executors.newFixedThreadPool(threadCount); final List<Long> timings = Collections.synchronizedList(new ArrayList<>()); try { for (int t = 0; t < threadCount; t++) { executor.submit(() -> { for (int i = 0; i < operationsPerThread; i++) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 11.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/DataIndexHelper.java
/** * Thread-safe list of active data crawling threads. * Used to track and manage all currently running crawler threads. */ protected final List<DataCrawlingThread> dataCrawlingThreadList = Collections.synchronizedList(new ArrayList<>()); /** * Creates a new instance of DataIndexHelper. * This constructor initializes the helper for managing data crawling operations,
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 18.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/WebFsIndexHelper.java
*/ protected int crawlerPriority = Thread.NORM_PRIORITY; /** * Synchronized list of active crawlers. */ protected final List<Crawler> crawlerList = Collections.synchronizedList(new ArrayList<>()); /** * Initiates crawling for specified web and file configurations. * * @param sessionId The session ID for this crawling operation
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 24.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exec/CrawlerTest.java
} // Test concurrent crawling public void test_doCrawl_concurrentWebAndData() { final List<String> executionOrder = Collections.synchronizedList(new ArrayList<>()); WebFsIndexHelper mockWebHelper = new WebFsIndexHelper() { @Override public void crawl(String sessionId, List<String> webConfigIdList, List<String> fileConfigIdList) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 30.5K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketHttpTest.kt
) } val request = Request .Builder() .url(webServer.url("/")) .build() val attempts = CountDownLatch(20) val webSockets = Collections.synchronizedList(ArrayList<WebSocket>()) val reconnectOnFailure: WebSocketListener = object : WebSocketListener() { override fun onFailure( webSocket: WebSocket, t: Throwable,
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Jun 20 11:46:46 UTC 2025 - 35.5K bytes - Viewed (0)