Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for isDaemon (0.14 sec)

  1. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/ForkingGradleHandle.java

        private final PipedOutputStream stdinPipe;
        private final boolean isDaemon;
    
        private final DurationMeasurement durationMeasurement;
        private final AtomicReference<ExecHandle> execHandleRef = new AtomicReference<>();
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 9K bytes
    - Viewed (0)
  2. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/ParallelForkingGradleHandle.java

        public ParallelForkingGradleHandle(PipedOutputStream stdinPipe, boolean isDaemon, Action<ExecutionResult> resultAssertion, String outputEncoding, Factory<? extends AbstractExecHandleBuilder> execHandleFactory, DurationMeasurement durationMeasurement) {
            super(stdinPipe, isDaemon, resultAssertion, outputEncoding, execHandleFactory, durationMeasurement);
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  3. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/cli/BuildActionsFactoryTest.groovy

        def "by default daemon is used"() {
            when:
            def action = convert('args')
    
            then:
            isDaemon action
        }
    
        def "daemon is used when command line option is used"() {
            when:
            def action = convert('--daemon', 'args')
    
            then:
            isDaemon action
        }
    
        def "does not use daemon when no-daemon command line option issued"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 05:33:15 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  4. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/ZincScalaCompileFixture.groovy

                allprojects {
                    $disableScalaDocIfInDaemonMode
                }
            """
        }
    
        static String getDisableScalaDocIfInDaemonMode() {
            return !GradleContextualExecuter.isDaemon() ? "" : """
                tasks.withType(ScalaDoc) {
                    doFirst {
                        throw new GradleException("Can't execute scaladoc while testing with the daemon due to permgen exhaustion")
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  5. platforms/enterprise/enterprise/src/integTest/groovy/org/gradle/internal/enterprise/DevelocityPluginBuildStateIntegrationTest.groovy

                        assert buildState.userId == services.get(${UserScopeId.name}).id.asString()
    
                        assert (buildState.daemonScanInfo != null) == ${GradleContextualExecuter.isDaemon()}
                    }
                }
            """
    
            when:
            succeeds("check")
    
            then:
            executed(":check")
    
            when:
            succeeds("check")
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 12 10:49:16 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/internal/concurrent/TaskRunnerRealBackendTest.kt

          log.put("uncaught exception: $throwable")
        }
    
      private val threadFactory =
        ThreadFactory { runnable ->
          Thread(runnable, "TaskRunnerRealBackendTest").apply {
            isDaemon = true
            uncaughtExceptionHandler = loggingUncaughtExceptionHandler
          }
        }
    
      private val backend = TaskRunner.RealBackend(threadFactory)
      private val taskRunner = TaskRunner(backend)
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  7. maven-compat/src/test/java/org/apache/maven/artifact/resolver/DefaultArtifactResolverTest.java

                Thread[] ts = new Thread[tg.activeCount()];
                tg.enumerate(ts);
    
                for (Thread active : ts) {
                    String name = active.getName();
                    boolean daemon = active.isDaemon();
                    assertTrue(daemon, name + " is no daemon Thread.");
                }
            }
    
            assertTrue(seen, "Could not find ThreadGroup: " + DefaultArtifactResolver.DaemonThreadCreator.THREADGROUP_NAME);
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Apr 25 05:46:50 UTC 2024
    - 3K bytes
    - Viewed (0)
  8. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/GradleContextualExecuter.java

            return !getSystemPropertyExecuter().forks;
        }
    
        public static boolean isNoDaemon() {
            return getSystemPropertyExecuter() == Executer.noDaemon;
        }
    
        public static boolean isDaemon() {
            return !(isNoDaemon() || isEmbedded());
        }
    
        public static boolean isLongLivingProcess() {
            return !isNoDaemon();
        }
    
        public static boolean isParallel() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 18:06:31 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/Crawler.java

        public boolean isBackground() {
            return background;
        }
    
        public void setBackground(final boolean background) {
            this.background = background;
        }
    
        public boolean isDaemon() {
            return daemon;
        }
    
        public void setDaemon(final boolean daemon) {
            this.daemon = daemon;
        }
    
        /*
         * (non-Javadoc)
         *
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 7.9K bytes
    - Viewed (0)
Back to top