- Sort Score
- Num 10 results
- Language All
Results 1 - 7 of 7 for TimeoutTask (0.05 seconds)
-
src/main/java/org/codelibs/core/timer/TimeoutTask.java
*/ package org.codelibs.core.timer; import org.codelibs.core.exception.ClIllegalStateException; /** * This class manages timeouts. * * @author higa * */ public class TimeoutTask { private static final int ACTIVE = 0; private static final int STOPPED = 1; private static final int CANCELED = 2; private final TimeoutTarget timeoutTarget;Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 2.7K bytes - Click Count (0) -
src/main/java/org/codelibs/core/timer/TimeoutManager.java
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 7.8K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/job/PythonJob.java
} final TimeoutTask timeoutTask = createTimeoutTask(); try { executePython(); } catch (final Exception e) { logger.warn("Failed to run python command.", e); resultBuf.append(e.getMessage()).append("\n"); } finally { if (timeoutTask != null && !timeoutTask.isCanceled()) { timeoutTask.cancel();Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 8.2K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/LogNotificationHelper.java
timeoutTask = TimeoutManager.getInstance().addTimeoutTarget(logNotificationTarget, interval, true); } /** * Stops the log notification timer and performs a final flush. */ @PreDestroy public void destroy() { if (timeoutTask != null) { timeoutTask.cancel(); } if (logNotificationTarget != null) {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 02:24:08 GMT 2026 - 5.3K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/job/ScriptExecutorJob.java
* governing permissions and limitations under the License. */ package org.codelibs.fess.app.job; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import org.codelibs.core.timer.TimeoutTask; import org.codelibs.fess.Constants; import org.codelibs.fess.exception.ScheduledJobException; import org.codelibs.fess.helper.JobHelper; import org.codelibs.fess.helper.SystemHelper;
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 28 11:55:54 GMT 2026 - 5.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/JobHelperTest.java
* either express or implied. See the License for the specific language * governing permissions and limitations under the License. */ package org.codelibs.fess.helper; import org.codelibs.core.timer.TimeoutTask; import org.codelibs.fess.exception.ScheduledJobException; import org.codelibs.fess.helper.JobHelper.MonitorTarget; import org.codelibs.fess.opensearch.config.exbhv.JobLogBhv;
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 6.5K bytes - Click Count (0) -
src/test/java/org/codelibs/core/timer/TimeoutManagerTest.java
protected void tearDown() throws Exception { TimeoutManager.getInstance().clear(); } /** * @throws Exception */ public void testExpired() throws Exception { TimeoutTask task = TimeoutManager.getInstance().addTimeoutTarget(new TimeoutTarget() { public void expired() { System.out.println("expired"); expiredCount++; }Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 2.1K bytes - Click Count (0)