Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for Command (0.17 sec)

  1. android/guava/src/com/google/common/util/concurrent/MoreExecutors.java

        @GuardedBy("lock")
        private int runningTasks = 0;
    
        @GuardedBy("lock")
        private boolean shutdown = false;
    
        @Override
        public void execute(Runnable command) {
          startTask();
          try {
            command.run();
          } finally {
            endTask();
          }
        }
    
        @Override
        public boolean isShutdown() {
          synchronized (lock) {
            return shutdown;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 41.8K bytes
    - Viewed (0)
  2. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultRootLocator.java

                    }
                }
            } catch (IOException | XMLStreamException e) {
                // The root locator can be used very early during the setup of Maven,
                // even before the arguments from the command line are parsed.  Any exception
                // that would happen here should cause the build to fail at a later stage
                // (when actually parsing the POM) and will lead to a better exception being
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/helper/ProcessHelper.java

            final JobProcess jobProcess = runningProcessMap.get(sessionId);
            if (jobProcess == null) {
                throw new JobNotFoundException("Job for " + sessionId + " is not found.");
            }
            try {
                final OutputStream out = jobProcess.getProcess().getOutputStream();
                IOUtils.write(command + "\n", out, Constants.CHARSET_UTF_8);
    Java
    - Registered: Mon Apr 22 08:04:10 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  4. maven-api-impl/src/main/java/org/apache/maven/api/services/model/ProfileActivationContext.java

        /**
         * Gets the user properties to use for interpolation and profile activation. The user properties have been
         * configured directly by the user on his discretion, e.g. via the {@code -Dkey=value} parameter on the command
         * line.
         *
         * @return The user properties, never {@code null}.
         */
        Map<String, String> getUserProperties();
    
        /**
         * Gets the base directory of the current project (if any).
         *
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/exec/Crawler.java

                                }
                                if (Constants.CRAWLER_PROCESS_COMMAND_THREAD_DUMP.equals(command)) {
                                    ThreadDumpUtil.printThreadDump();
                                } else {
                                    logger.warn("Unknown process command: {}", command);
                                }
    Java
    - Registered: Mon Apr 22 08:04:10 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 24.1K bytes
    - Viewed (2)
  6. src/main/java/org/codelibs/fess/auth/chain/CommandChain.java

        protected int executeCommand(final String[] commands, final String username, final String password) {
            if (commands == null || commands.length == 0) {
                throw new CommandExecutionException("command is empty.");
            }
    
            if (logger.isInfoEnabled()) {
                logger.info("Command: {}", String.join(" ", commands));
            }
    
            final String[] cmds = stream(commands).get(stream -> stream.map(s -> {
    Java
    - Registered: Mon Apr 22 08:04:10 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/crawlinginfo/AdminCrawlinginfoAction.java

            final String id = form.id;
            crawlingInfoService.getCrawlingInfo(id).ifPresent(entity -> {
                try {
                    processHelper.sendCommand(entity.getSessionId(), Constants.CRAWLER_PROCESS_COMMAND_THREAD_DUMP);
                    saveInfo(messages -> messages.addSuccessPrintThreadDump(GLOBAL));
                } catch (final Exception e) {
                    logger.warn("Failed to print a thread dump.", e);
    Java
    - Registered: Mon Apr 22 08:04:10 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 9.9K bytes
    - Viewed (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/Session.java

        SessionData getData();
    
        /**
         * Returns immutable user properties to use for interpolation. The user properties have been configured directly
         * by the user, e.g. via the {@code -Dkey=value} parameter on the command line.
         *
         * @return the user properties, never {@code null}
         */
        @Nonnull
        Map<String, String> getUserProperties();
    
        /**
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 30K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/execution/MavenSession.java

         * being passed into the session. This is also the potentially constrained set of projects by using --projects
         * on the command line.
         */
        private List<MavenProject> projects;
    
        /**
         * The full set of projects before any potential constraining by --projects. Useful in the case where you want to
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 16.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/thumbnail/impl/CommandGenerator.java

            final String commandTimeoutStr = fessConfig.getSystemProperty("thumbnail.command.timeout");
            if (commandTimeoutStr != null) {
                commandTimeout = Long.valueOf(commandTimeoutStr);
            }
            final String commandDestroyTimeoutStr = fessConfig.getSystemProperty("thumbnail.command.destroy.timeout");
            if (commandDestroyTimeoutStr != null) {
    Java
    - Registered: Mon Apr 22 08:04:10 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 9.6K bytes
    - Viewed (0)
Back to top