Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for TimeoutTask (0.16 sec)

  1. src/main/java/org/codelibs/core/timer/TimeoutTask.java

     */
    package org.codelibs.core.timer;
    
    import org.codelibs.core.exception.ClIllegalStateException;
    
    /**
     * タイムアウトを管理するクラスです。
     *
     * @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;
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  2. 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();
                }
            }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/timer/TimeoutManager.java

        }
    
        /**
         * 期限の切れた {@link TimeoutTask}のリストを返します。
         *
         * @return 期限の切れた {@link TimeoutTask}のリスト
         */
        protected synchronized List<TimeoutTask> getExpiredTask() {
            final List<TimeoutTask> expiredTask = new ArrayList<>();
            if (timeoutTaskList.isEmpty()) {
                return expiredTask;
            }
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 8K bytes
    - Viewed (0)
  4. 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();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 10.6K bytes
    - Viewed (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();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sun Jun 23 04:13:47 UTC 2024
    - 10K bytes
    - Viewed (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();
    
        }
    
        protected int getRunningJobCount() {
            final AtomicInteger counter = new AtomicInteger(0);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sun Jun 23 04:13:47 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  7. 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.es.config.exentity.JobLog;
    import org.codelibs.fess.es.config.exentity.ScheduledJob;
    import org.codelibs.fess.exception.ScheduledJobException;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/exec/ThumbnailGenerator.java

    import org.apache.logging.log4j.Logger;
    import org.codelibs.core.lang.StringUtil;
    import org.codelibs.core.misc.DynamicProperties;
    import org.codelibs.core.timer.TimeoutManager;
    import org.codelibs.core.timer.TimeoutTask;
    import org.codelibs.fess.Constants;
    import org.codelibs.fess.crawler.client.FesenClient;
    import org.codelibs.fess.es.client.SearchEngineClient;
    import org.codelibs.fess.exception.ContainerNotAvailableException;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/job/ExecJob.java

    import org.apache.logging.log4j.LogManager;
    import org.apache.logging.log4j.Logger;
    import org.codelibs.core.lang.StringUtil;
    import org.codelibs.core.timer.TimeoutManager;
    import org.codelibs.core.timer.TimeoutTask;
    import org.codelibs.fess.Constants;
    import org.codelibs.fess.es.config.exentity.ScheduledJob;
    import org.codelibs.fess.util.ComponentUtil;
    import org.lastaflute.di.exception.IORuntimeException;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/ApiExtractor.java

    import org.codelibs.core.beans.PropertyDesc;
    import org.codelibs.core.beans.factory.BeanDescFactory;
    import org.codelibs.core.lang.StringUtil;
    import org.codelibs.core.timer.TimeoutManager;
    import org.codelibs.core.timer.TimeoutTask;
    import org.codelibs.fess.crawler.Constants;
    import org.codelibs.fess.crawler.client.AccessTimeoutTarget;
    import org.codelibs.fess.crawler.client.http.Authentication;
    import org.codelibs.fess.crawler.client.http.RequestHeader;
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 10K bytes
    - Viewed (0)
Back to top