Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for synchronizedList (1.22 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
Back to top