- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 37 for AtomicBoolean (0.09 sec)
-
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) -
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) -
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) -
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) -
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) -
src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessCurtainFinallyHookTest.java
public void test_shutdownCommonsHttpClient_withException() throws Exception { // Create a hook that simulates an exception scenario AtomicBoolean exceptionHandled = new AtomicBoolean(false); FessCurtainFinallyHook customHook = new FessCurtainFinallyHook() { @Override public void hook(final FwAssistantDirector assistantDirector) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 8.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/filter/WebApiFilterTest.java
HttpServletRequest request = createMockHttpServletRequest(); HttpServletResponse response = createMockHttpServletResponse(); AtomicBoolean chainCalled = new AtomicBoolean(false); AtomicBoolean managerCalled = new AtomicBoolean(false); FilterChain chain = new FilterChain() { @Override
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 26.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/index/contents/document/ESSourceReader.java
/** Queue of documents. */ protected final Queue<Map<String, Object>> queue = new ConcurrentLinkedQueue<>(); /** Flag indicating if reading is finished. */ protected final AtomicBoolean isFinished = new AtomicBoolean(false); /** Random number generator. */ protected final Random random = new Random(); /** OpenSearch client. */ protected final Client client; /** Suggest settings. */
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Thu Aug 07 02:41:28 UTC 2025 - 11K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/TrustedListenableFutureTaskTest.java
assertThat(executionException).hasCauseThat().isEqualTo(e); } @J2ktIncompatible @GwtIncompatible // blocking wait public void testCancel_interrupted() throws Exception { AtomicBoolean interruptedExceptionThrown = new AtomicBoolean(); CountDownLatch enterLatch = new CountDownLatch(1); CountDownLatch exitLatch = new CountDownLatch(1); TrustedListenableFutureTask<Integer> task =
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 7.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/DataIndexHelperTest.java
} }, "crawlingConfigHelper"); // Fast mock SystemHelper with immediate force stop capability ComponentUtil.register(new SystemHelper() { private final AtomicBoolean forceStop = new AtomicBoolean(false); @Override public long getCurrentTimeAsLong() { return System.currentTimeMillis(); } @Override
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 05:35:01 UTC 2025 - 12.7K bytes - Viewed (0)