List of usage examples for java.util.concurrent ExecutorService interface-usage
From source file org.polymap.core.runtime.PolymapJobExecutor.java
/** * * * @author <a href="http://www.polymap.de">Falko Brutigam</a> */ public class PolymapJobExecutor implements ExecutorService {
From source file org.apache.sysml.runtime.util.CommonThreadPool.java
/**
* This common thread pool provides an abstraction to obtain a shared
* thread pool, specifically the ForkJoinPool.commonPool, for all requests
* of the maximum degree of parallelism. If pools of different size are
* requested, we create new pool instances of FixedThreadPool.
*/
From source file io.ucoin.ucoinj.elasticsearch.service.ExecutorServiceImpl.java
public class ExecutorServiceImpl implements ExecutorService, InitializingBean { /** Logger. */ private static final Log log = LogFactory.getLog(ExecutorServiceImpl.class); private Configuration config;
From source file org.apache.bookkeeper.common.util.OrderedExecutor.java
/**
* This class provides 2 things over the java {@link ExecutorService}.
*
* <p>1. It takes {@link SafeRunnable objects} instead of plain Runnable objects.
* This means that exceptions in scheduled tasks wont go unnoticed and will be
* logged.
From source file com.zaubersoftware.gnip4j.api.impl.XMLActivityStreamFeedProcessorTest.java
class DirectExecuteService implements ExecutorService { @Override public void execute(final Runnable command) { command.run(); }
From source file com.zaubersoftware.gnip4j.http.ReconnectionTest.java
class MockExecutorService implements ExecutorService { @Override public void execute(final Runnable command) { command.run(); }