Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for AtomicInteger (0.57 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/TransformerTest.java

         */
        public static class TestTransformer implements Transformer {
            private String name;
            private final AtomicInteger transformCallCount = new AtomicInteger(0);
            private final AtomicInteger getDataCallCount = new AtomicInteger(0);
            private ResponseData lastResponseData = null;
            private AccessResultData<?> lastAccessResultData = null;
    
            public TestTransformer() {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 28K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/RuleTest.java

            rule.addCondition("url", "https://.*\\.example\\.com/.*");
    
            final int threadCount = 10;
            final int matchesPerThread = 100;
            final AtomicInteger matchCount = new AtomicInteger(0);
            final AtomicInteger noMatchCount = new AtomicInteger(0);
            final List<Exception> exceptions = new ArrayList<>();
    
            Thread[] threads = new Thread[threadCount];
            for (int i = 0; i < threadCount; i++) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 22.7K bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerContextTest.java

            final CountDownLatch startLatch = new CountDownLatch(1);
            final CountDownLatch endLatch = new CountDownLatch(2);
            final AtomicInteger successCount = new AtomicInteger(0);
    
            Thread thread1 = new Thread(new Runnable() {
                @Override
                public void run() {
                    try {
                        startLatch.await();
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 25.6K bytes
    - Viewed (0)
  4. fess-crawler/src/test/java/org/codelibs/fess/crawler/pool/CrawlerPooledObjectFactoryTest.java

            factory.crawlerContainer = container;
        }
    
        /**
         * Test component class for testing factory operations
         */
        public static class TestComponent {
            private static AtomicInteger instanceCounter = new AtomicInteger(0);
            private final int id;
            private boolean destroyed = false;
    
            public TestComponent() {
                this.id = instanceCounter.incrementAndGet();
            }
    
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/reflect/TypeResolver.java

      private static class WildcardCapturer {
    
        static final WildcardCapturer INSTANCE = new WildcardCapturer();
    
        private final AtomicInteger id;
    
        private WildcardCapturer() {
          this(new AtomicInteger());
        }
    
        private WildcardCapturer(AtomicInteger id) {
          this.id = id;
        }
    
        final Type capture(Type type) {
          checkNotNull(type);
          if (type instanceof Class) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Sep 03 14:03:14 UTC 2025
    - 24.2K bytes
    - Viewed (0)
  6. fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/RuleManagerTest.java

            }
    
            final int threadCount = 10;
            final CountDownLatch startLatch = new CountDownLatch(1);
            final CountDownLatch endLatch = new CountDownLatch(threadCount);
            final AtomicInteger removeCount = new AtomicInteger(0);
    
            for (int i = 0; i < threadCount; i++) {
                final int threadId = i;
                new Thread(new Runnable() {
                    @Override
                    public void run() {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 23.8K bytes
    - Viewed (0)
  7. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/AbstractTransformerTest.java

            final int operationsPerThread = 100;
            final CountDownLatch startLatch = new CountDownLatch(1);
            final CountDownLatch endLatch = new CountDownLatch(threadCount);
            final AtomicInteger errorCount = new AtomicInteger(0);
    
            testTransformer.setName("concurrentName");
    
            ExecutorService executor = Executors.newFixedThreadPool(threadCount);
    
            for (int i = 0; i < threadCount; i++) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  8. guava/src/com/google/common/reflect/TypeResolver.java

      private static class WildcardCapturer {
    
        static final WildcardCapturer INSTANCE = new WildcardCapturer();
    
        private final AtomicInteger id;
    
        private WildcardCapturer() {
          this(new AtomicInteger());
        }
    
        private WildcardCapturer(AtomicInteger id) {
          this.id = id;
        }
    
        final Type capture(Type type) {
          checkNotNull(type);
          if (type instanceof Class) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Sep 03 14:03:14 UTC 2025
    - 24.2K bytes
    - Viewed (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/impl/AbstractRuleTest.java

            final int iterationsPerThread = 100;
            final CountDownLatch startLatch = new CountDownLatch(1);
            final CountDownLatch endLatch = new CountDownLatch(threadCount);
            final AtomicInteger errorCount = new AtomicInteger(0);
    
            // Set initial values
            testRule.setRuleId("concurrentRule");
            TestResponseProcessor processor = new TestResponseProcessor();
            testRule.setResponseProcessor(processor);
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 21.9K bytes
    - Viewed (0)
Back to top