Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 56 for Timer (0.03 sec)

  1. src/main/java/org/codelibs/fess/helper/JobHelper.java

    import java.util.Map;
    
    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.TimeoutTarget;
    import org.codelibs.core.timer.TimeoutTask;
    import org.codelibs.fess.Constants;
    import org.codelibs.fess.es.config.exbhv.JobLogBhv;
    import org.codelibs.fess.es.config.exbhv.ScheduledJobBhv;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/TimeoutFuture.java

        @RetainedLocalRef Future<?> localTimer = timer;
        // Try to cancel the timer as an optimization.
        // timer may be null if this call to run was by the timer task since there is no happens-before
        // edge between the assignment to timer and an execution of the timer task.
        if (localTimer != null) {
          localTimer.cancel(false);
        }
    
        delegateRef = null;
        timer = null;
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 13:13:32 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/exec/ThumbnailGenerator.java

    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;
    import org.codelibs.fess.timer.SystemMonitorTarget;
    import org.codelibs.fess.util.ComponentUtil;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/timer/MonitorTarget.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.timer;
    
    import java.io.IOException;
    import java.io.PrintWriter;
    import java.util.Arrays;
    import java.util.function.Supplier;
    
    import org.apache.commons.io.output.ByteArrayOutputStream;
    import org.apache.commons.text.StringEscapeUtils;
    import org.codelibs.core.timer.TimeoutTarget;
    import org.codelibs.fess.Constants;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 3K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/thumbnail/impl/CommandGenerator.java

        protected File baseDir;
    
        private Timer destoryTimer;
    
        @PostConstruct
        public void init() {
            if (logger.isDebugEnabled()) {
                logger.debug("Initialize {}", this.getClass().getSimpleName());
            }
            if (baseDir == null) {
                baseDir = new File(System.getProperty("java.io.tmpdir"));
            }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/timer/TimeoutTask.java

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.timer;
    
    import org.codelibs.core.exception.ClIllegalStateException;
    
    /**
     * タイムアウトを管理するクラスです。
     *
     * @author higa
     *
     */
    public class TimeoutTask {
    
        private static final int ACTIVE = 0;
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  7. internal/dsync/dsync_test.go

    		dm.GetLock(ctx, nil, id, source, Options{Timeout: 5 * time.Minute})
    		unlockReturned <- struct{}{}
    	}()
    
    	timer := time.NewTimer(2 * testDrwMutexUnlockCallTimeout)
    	defer timer.Stop()
    
    	select {
    	case <-unlockReturned:
    		t.Fatal("Unlock timed out, which should not happen")
    	case <-timer.C:
    	}
    }
    
    // Borrowed from mutex_test.go
    func HammerMutex(m *DRWMutex, loops int, cdone chan bool) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jun 19 14:35:19 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/exec/Crawler.java

    import org.codelibs.core.lang.StringUtil;
    import org.codelibs.core.lang.ThreadUtil;
    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.app.service.CrawlingInfoService;
    import org.codelibs.fess.app.service.PathMappingService;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 24K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/QueuesTest.java

          producer.beganProducing.await();
    
          // make sure we time out
          Stopwatch timer = Stopwatch.createStarted();
    
          int drained = drain(q, newArrayList(), 2, 10, MILLISECONDS, interruptibly);
          assertThat(drained).isAtMost(1);
    
          assertThat(timer.elapsed(MILLISECONDS)).isAtLeast(10L);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/timer/TimeoutManager.java

    import org.codelibs.core.log.Logger;
    
    /**
     * Timerを扱うクラスです。
     *
     * @author higa
     *
     */
    public class TimeoutManager implements Runnable {
    
        private static final Logger logger = Logger.getLogger(TimeoutManager.class);
    
        /**
         * シングルトンのためのインスタンスです。
         */
        protected static final TimeoutManager instance = new TimeoutManager();
    
        /**
         * Timerのための{@link Thread}です。
         */
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 8K bytes
    - Viewed (0)
Back to top