- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for onShutdown (0.08 sec)
-
src/test/java/org/codelibs/fess/job/JobExecutorTest.java
ShutdownListener listener1 = new ShutdownListener() { @Override public void onShutdown() { callCount.incrementAndGet(); } }; ShutdownListener listener2 = new ShutdownListener() { @Override public void onShutdown() { callCount.addAndGet(10); } }; // Add first listener
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/main/java/org/codelibs/fess/job/JobExecutor.java
/** * Initiates shutdown of the job executor. * This method notifies the shutdown listener to perform cleanup operations. */ public void shutdown() { shutdownListener.onShutdown(); } /** * Adds a shutdown listener to be notified when the executor is shutting down. * * @param listener the shutdown listener to add */
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 2.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/job/impl/ScriptExecutorTest.java
} } private static class TestShutdownListener implements JobExecutor.ShutdownListener { private boolean shutdownCalled = false; @Override public void onShutdown() { shutdownCalled = true; } public boolean wasShutdownCalled() { return shutdownCalled; } }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 10.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/job/GenerateThumbnailJobTest.java
boolean shutdownListenerAdded = false; @Override public void addShutdownListener(ShutdownListener listener) { shutdownListenerAdded = true; listener.onShutdown(); } @Override public Object execute(String scriptType, String script) { return null; } }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 18.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/job/PythonJobTest.java
@Override public void addShutdownListener(ShutdownListener listener) { shutdownListenerAdded = true; // Optionally execute the listener to test its behavior listener.onShutdown(); } @Override public Object execute(String scriptType, String script) { return null; } }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 22.1K bytes - Viewed (0)