Searched defs:command (Results 1 - 9 of 9) sorted by relevance

/libcore/ojluni/src/main/java/java/util/concurrent/
H A DExecutor.java129 * Executes the given command at some time in the future. The command
133 * @param command the runnable task
136 * @throws NullPointerException if command is null
138 void execute(Runnable command); argument
H A DScheduledExecutorService.java100 * @param command the task to execute
108 * @throws NullPointerException if command is null
110 public ScheduledFuture<?> schedule(Runnable command, argument
154 * @param command the task to execute
165 * @throws NullPointerException if command is null
168 public ScheduledFuture<?> scheduleAtFixedRate(Runnable command, argument
193 * @param command the task to execute
205 * @throws NullPointerException if command is null
208 public ScheduledFuture<?> scheduleWithFixedDelay(Runnable command, argument
H A DExecutors.java624 public void execute(Runnable command) { e.execute(command); } argument
684 public ScheduledFuture<?> schedule(Runnable command, long delay, TimeUnit unit) { argument
685 return e.schedule(command, delay, unit);
690 public ScheduledFuture<?> scheduleAtFixedRate(Runnable command, long initialDelay, long period, TimeUnit unit) { argument
691 return e.scheduleAtFixedRate(command, initialDelay, period, unit);
693 public ScheduledFuture<?> scheduleWithFixedDelay(Runnable command, long initialDelay, long delay, TimeUnit unit) { argument
694 return e.scheduleWithFixedDelay(command, initialDelay, delay, unit);
H A DScheduledThreadPoolExecutor.java553 public ScheduledFuture<?> schedule(Runnable command, argument
556 if (command == null || unit == null)
558 RunnableScheduledFuture<Void> t = decorateTask(command,
559 new ScheduledFutureTask<Void>(command, null,
588 public ScheduledFuture<?> scheduleAtFixedRate(Runnable command, argument
592 if (command == null || unit == null)
597 new ScheduledFutureTask<Void>(command,
602 RunnableScheduledFuture<Void> t = decorateTask(command, sft);
613 public ScheduledFuture<?> scheduleWithFixedDelay(Runnable command, argument
617 if (command
653 execute(Runnable command) argument
[all...]
H A DThreadPoolExecutor.java844 * Invokes the rejected execution handler for the given command.
847 final void reject(Runnable command) { argument
848 handler.rejectedExecution(command, this);
1351 * @param command the task to execute
1355 * @throws NullPointerException if {@code command} is null
1357 public void execute(Runnable command) { argument
1358 if (command == null)
1364 * start a new thread with the given command as its first
1382 if (addWorker(command, true))
1386 if (isRunning(c) && workQueue.offer(command)) {
[all...]
H A DCompletableFuture.java2652 static ScheduledFuture<?> delay(Runnable command, long delay, argument
2654 return delayer.schedule(command, delay, unit);
/libcore/ojluni/src/main/java/java/lang/
H A DCompiler.java69 * Executes an operation according to the specified command object. This
75 * the command object for the JIT compiler.
76 * @return the result of executing command or {@code null}.
78 public static Object command(Object cmd) { method in class:Compiler
H A DProcessBuilder.java50 * <li>a <i>command</i>, a list of strings which signifies the
52 * Which string lists represent a valid operating system command is
55 * systems where programs are expected to tokenize command line
133 * #start()} will fail. For example, setting the command attribute to
180 private List<String> command; field in class:ProcessBuilder
189 * make a copy of the {@code command} list. Subsequent
192 * {@code command} corresponds to a valid operating system
193 * command.
195 * @param command the list containing the program and its arguments
198 public ProcessBuilder(List<String> command) { argument
215 ProcessBuilder(String... command) argument
234 command(List<String> command) argument
252 command(String... command) argument
267 public List<String> command() { method in class:ProcessBuilder
[all...]
H A DRuntime.java393 * Executes the specified string command in a separate process.
396 * <tt>exec(command)</tt>
398 * <tt>{@link #exec(String, String[], File) exec}(command, null, null)</tt>.
400 * @param command a specified system command.
413 * If <code>command</code> is <code>null</code>
416 * If <code>command</code> is empty
421 public Process exec(String command) throws IOException { argument
422 return exec(command, null, null);
426 * Executes the specified string command i
462 exec(String command, String[] envp) argument
516 exec(String command, String[] envp, File dir) argument
[all...]

Completed in 177 milliseconds