Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for getthread (0.06 sec)

  1. guava-tests/test/com/google/common/util/concurrent/TestThread.java

    import java.util.concurrent.TimeoutException;
    import junit.framework.AssertionFailedError;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * A helper for concurrency testing. One or more {@code TestThread} instances are instantiated in a
     * test with reference to the same "lock-like object", and then their interactions with that object
     * are choreographed via the various methods on this class.
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/TestThread.java

    import java.util.concurrent.TimeoutException;
    import junit.framework.AssertionFailedError;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * A helper for concurrency testing. One or more {@code TestThread} instances are instantiated in a
     * test with reference to the same "lock-like object", and then their interactions with that object
     * are choreographed via the various methods on this class.
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/timer/HotThreadMonitorTarget.java

            buf.append("[HOTTHREAD MONITOR] ");
    
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
    
            buf.append('{');
    
            final boolean ignoreIdleThreads = Constants.TRUE.equalsIgnoreCase(fessConfig.getCrawlerHotthreadIgnoreIdleThreads());
            final TimeValue interval = TimeValue.parseTimeValue(fessConfig.getCrawlerHotthreadInterval(), "crawler.hotthread.interval");
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/ThreadFactoryBuilderTest.java

                .build()
                .newThread(monitoredRunnable)
                .getUncaughtExceptionHandler());
      }
    
      public void testBuildMutateBuild() {
        ThreadFactory factory1 = builder.setPriority(1).build();
        assertEquals(1, factory1.newThread(monitoredRunnable).getPriority());
    
        ThreadFactory factory2 = builder.setPriority(2).build();
        assertEquals(1, factory1.newThread(monitoredRunnable).getPriority());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/ThreadFactoryBuilderTest.java

                .build()
                .newThread(monitoredRunnable)
                .getUncaughtExceptionHandler());
      }
    
      public void testBuildMutateBuild() {
        ThreadFactory factory1 = builder.setPriority(1).build();
        assertEquals(1, factory1.newThread(monitoredRunnable).getPriority());
    
        ThreadFactory factory2 = builder.setPriority(2).build();
        assertEquals(1, factory1.newThread(monitoredRunnable).getPriority());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  6. guava/src/com/google/common/util/concurrent/ThreadFactoryBuilder.java

        AtomicLong count = (nameFormat != null) ? new AtomicLong(0) : null;
        return new ThreadFactory() {
          @Override
          public Thread newThread(Runnable runnable) {
            Thread thread = backingThreadFactory.newThread(runnable);
            // TODO(b/139735208): Figure out what to do when the factory returns null.
            requireNonNull(thread);
            if (nameFormat != null) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 14 22:50:54 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/exec/Crawler.java

            public String expires;
    
            @Option(name = "-h", aliases = "--hotThread", metaVar = "hotThread", usage = "Interval for Hot Thread logging")
            public Integer hotThread;
    
            protected Options() {
                // nothing
            }
    
            protected List<String> getWebConfigIdList() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 24K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactResolver.java

            static final AtomicInteger THREAD_NUMBER = new AtomicInteger(1);
    
            public Thread newThread(Runnable r) {
                Thread newThread = new Thread(GROUP, r, "resolver-" + THREAD_NUMBER.getAndIncrement());
                newThread.setDaemon(true);
                newThread.setContextClassLoader(null);
                return newThread;
            }
        }
    
        private class ResolveTask implements Runnable {
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 24.8K bytes
    - Viewed (0)
  9. src/main/resources/fess_config.properties

    crawler.ignore.content.exception=true
    crawler.failure.url.status.codes=404
    crawler.system.monitor.interval=60
    crawler.hotthread.ignore_idle_threads=true
    crawler.hotthread.interval=500ms
    crawler.hotthread.snapshots=10
    crawler.hotthread.threads=3
    crawler.hotthread.timeout=30s
    crawler.hotthread.type=cpu
    crawler.metadata.content.excludes=resourceName,X-Parsed-By,Content-Encoding.*,Content-Type.*,X-TIKA.*,X-FESS.*
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Tue Oct 01 14:13:38 UTC 2024
    - 30.9K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/timer/SystemMonitorTarget.java

                return b.toString();
            }).collect(Collectors.joining(",")));
            buf.append("},");
            final Threads threads = jvmStats.getThreads();
            buf.append("\"threads\":{");
            append(buf, "count", () -> threads.getCount()).append(',');
            append(buf, "peak", () -> threads.getPeakCount());
            buf.append("},");
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 7.5K bytes
    - Viewed (0)
Back to top