Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 17 for TimeoutTask (0.06 seconds)

  1. src/main/java/org/codelibs/fess/exec/ThumbnailGenerator.java

            if (StringUtil.isNotBlank(httpAddress)) {
                System.setProperty(FesenClient.HTTP_ADDRESS, httpAddress);
            }
    
            TimeoutTask systemMonitorTask = null;
            TimeoutTask logNotificationTask = null;
            LogNotificationTarget logNotificationTarget = null;
            int exitCode;
            try {
                SingletonLaContainerFactory.setConfigPath("app.xml");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 10.4K bytes
    - Click Count (0)
  2. 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)
  3. src/main/java/org/codelibs/fess/exec/Crawler.java

            if (StringUtil.isNotBlank(httpAddress)) {
                System.setProperty(FesenClient.HTTP_ADDRESS, httpAddress);
            }
    
            TimeoutTask systemMonitorTask = null;
            TimeoutTask hotThreadMonitorTask = null;
            TimeoutTask logNotificationTask = null;
            LogNotificationTarget logNotificationTarget = null;
            Thread commandThread = null;
            int exitCode;
            try {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 32.4K bytes
    - Click Count (0)
  4. 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)
  5. src/main/java/org/codelibs/fess/job/SuggestJob.java

            }
    
            final TimeoutTask timeoutTask = createTimeoutTask();
            try {
                executeSuggestCreator();
            } catch (final Exception e) {
                logger.warn("Failed to create suggest data.", 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: Fri Nov 28 16:29:12 GMT 2025
    - 10.5K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/job/CrawlJob.java

                throw new JobProcessingException("Failed to execute a crawl job.", e);
            } finally {
                if (timeoutTask != null && !timeoutTask.isCanceled()) {
                    timeoutTask.cancel();
                }
            }
    
            return resultBuf.toString();
    
        }
    
        /**
         * Gets the count of currently running crawler jobs.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 19.6K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/job/GenerateThumbnailJob.java

            }
    
            final TimeoutTask timeoutTask = createTimeoutTask();
            try {
                executeThumbnailGenerator();
            } catch (final Exception e) {
                logger.warn("Failed to generate thumbnails.", 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: Fri Nov 28 16:29:12 GMT 2025
    - 11.7K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/app/job/ScriptExecutorJobTest.java

     */
    package org.codelibs.fess.app.job;
    
    import java.util.Collections;
    import java.util.HashMap;
    import java.util.Map;
    import java.util.concurrent.atomic.AtomicReference;
    
    import org.codelibs.core.timer.TimeoutTask;
    import org.codelibs.fess.Constants;
    import org.codelibs.fess.helper.JobHelper;
    import org.codelibs.fess.helper.SystemHelper;
    import org.codelibs.fess.job.JobExecutor;
    import org.codelibs.fess.mylasta.direction.FessConfig;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 11:55:54 GMT 2026
    - 13.7K bytes
    - Click Count (0)
  9. 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)
  10. src/main/java/org/codelibs/fess/exec/SuggestCreator.java

            if (StringUtil.isNotBlank(httpAddress)) {
                System.setProperty(FesenClient.HTTP_ADDRESS, httpAddress);
            }
    
            TimeoutTask systemMonitorTask = null;
            TimeoutTask logNotificationTask = null;
            LogNotificationTarget logNotificationTarget = null;
            int exitCode;
            try {
                SingletonLaContainerFactory.setConfigPath("app.xml");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 12.1K bytes
    - Click Count (0)
Back to Top