public interface Executor
Modifier and Type | Method and Description |
---|---|
void |
execute(Runnable runnable,
String name)
Executes the given Runnable action asynchronously in some thread.
|
void execute(Runnable runnable, String name) throws java.util.concurrent.RejectedExecutionException
runnable
- the Runnable action to executename
- string to include in the name of the thread used
to execute the actionjava.util.concurrent.RejectedExecutionException
Copyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.