Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 45 for AtomicBoolean (0.2 sec)

  1. src/test/java/org/codelibs/fess/ds/DataStoreTest.java

        }
    
        public void test_store_and_stop_lifecycle() {
            // Test full lifecycle: store then stop
            final AtomicBoolean storeCalled = new AtomicBoolean(false);
            final AtomicBoolean stopCalled = new AtomicBoolean(false);
            final AtomicBoolean isActive = new AtomicBoolean(false);
    
            dataStore = new DataStore() {
                @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 13K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/base/FinalizableReferenceQueueTest.java

      private ServerSocket makeMyServerExampleWithFrq(AtomicBoolean finalizeReferentRan)
          throws IOException {
        MyServerExampleWithFrq myServer = MyServerExampleWithFrq.create(finalizeReferentRan);
        assertThat(myServer.serverSocket.isClosed()).isFalse();
        return myServer.serverSocket;
      }
    
      @Test
      public void testMyServerExampleWithFrq() throws Exception {
        AtomicBoolean finalizeReferentRan = new AtomicBoolean(false);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/base/FinalizableReferenceQueueTest.java

      private ServerSocket makeMyServerExampleWithFrq(AtomicBoolean finalizeReferentRan)
          throws IOException {
        MyServerExampleWithFrq myServer = MyServerExampleWithFrq.create(finalizeReferentRan);
        assertThat(myServer.serverSocket.isClosed()).isFalse();
        return myServer.serverSocket;
      }
    
      @Test
      public void testMyServerExampleWithFrq() throws Exception {
        AtomicBoolean finalizeReferentRan = new AtomicBoolean(false);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/job/JobExecutorTest.java

            result = jobExecutor.execute("", "");
            assertEquals("Executed:  ", result);
        }
    
        public void test_addShutdownListener() {
            // Test adding shutdown listener
            AtomicBoolean shutdownCalled = new AtomicBoolean(false);
            ShutdownListener listener = new ShutdownListener() {
                @Override
                public void onShutdown() {
                    shutdownCalled.set(true);
                }
            };
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/SupplementalMonitorTest.java

          Monitor monitor,
          boolean expectedIsOccupied,
          boolean expectedIsOccupiedByCurrentThread,
          int expectedOccupiedDepth) {
        AtomicBoolean actualIsOccupied = new AtomicBoolean();
        AtomicBoolean actualIsOccupiedByCurrentThread = new AtomicBoolean();
        AtomicInteger actualOccupiedDepth = new AtomicInteger();
        AtomicReference<Throwable> thrown = new AtomicReference<>();
        joinUninterruptibly(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/SupplementalMonitorTest.java

          Monitor monitor,
          boolean expectedIsOccupied,
          boolean expectedIsOccupiedByCurrentThread,
          int expectedOccupiedDepth) {
        AtomicBoolean actualIsOccupied = new AtomicBoolean();
        AtomicBoolean actualIsOccupiedByCurrentThread = new AtomicBoolean();
        AtomicInteger actualOccupiedDepth = new AtomicInteger();
        AtomicReference<Throwable> thrown = new AtomicReference<>();
        joinUninterruptibly(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/util/ResourceManagerTest.java

            resourceManager.configure(1000, 100, true, true);
        }
    
        /**
         * Test resource for tracking
         */
        static class TestResource implements AutoCloseable {
            private final AtomicBoolean closed = new AtomicBoolean(false);
            private final String name;
    
            TestResource(String name) {
                this.name = name;
            }
    
            @Override
            public void close() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/util/AuthenticationRateLimiter.java

        private final AtomicLong currentWindowStart = new AtomicLong(System.currentTimeMillis());
    
        // Cleanup scheduler
        private final ScheduledExecutorService cleanupScheduler;
        private final AtomicBoolean closed = new AtomicBoolean(false);
    
        // Statistics
        private final AtomicLong totalAttemptsBlocked = new AtomicLong(0);
        private final AtomicLong totalAccountsLocked = new AtomicLong(0);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/AccessTimeoutTarget.java

        private static final int MAX_LOOP_COUNT = 10;
    
        /** The thread being monitored. */
        protected Thread runningThread;
    
        /** Flag indicating if the thread is still running. */
        protected AtomicBoolean running = new AtomicBoolean();
    
        /**
         * Constructs an AccessTimeoutTarget with the specified thread.
         * @param thread The thread to monitor.
         */
        public AccessTimeoutTarget(final Thread thread) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  10. android/guava-testlib/test/com/google/common/collect/testing/MapTestSuiteBuilderTests.java

       * of the {@code Map} method calls and check that {@code setUpRan} is true.
       */
      private static class CheckSetUpHashMapGenerator extends WrappedHashMapGenerator {
        private final AtomicBoolean setUpRan;
    
        CheckSetUpHashMapGenerator(AtomicBoolean setUpRan) {
          this.setUpRan = setUpRan;
        }
    
        @Override
        Map<String, String> wrap(HashMap<String, String> map) {
          @SuppressWarnings("unchecked")
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu May 22 16:18:11 UTC 2025
    - 11.4K bytes
    - Viewed (0)
Back to top