List of usage examples for java.util.concurrent Executor interface-usage
From source file org.springframework.cloud.sleuth.instrument.async.LazyTraceExecutor.java
/**
* {@link Executor} that wraps {@link Runnable} in a
* {@link org.springframework.cloud.sleuth.TraceRunnable TraceRunnable} that sets a
* local component tag on the span.
*
* @author Dave Syer
From source file net.sf.jabref.JabRefExecutorService.java
/** * Responsible for managing of all threads (except Swing threads) in JabRef */ public class JabRefExecutorService implements Executor { private static final Log LOGGER = LogFactory.getLog(UndoableInsertEntry.class);
From source file org.sapia.soto.util.concurrent.ExecutorService.java
/**
* This Soto service implements an executor service were runnable tasks can be asynchronously
* executed. If a control is required to now when a runnable task is completed, users of this
* executor service can <i>submit</i> their task and get a {@link java.util.concurrent.Future}
* object to track the task execution.<P>
*
From source file me.slezica.android.tools.ui.ExecutorFragment.java
public class ExecutorFragment extends Fragment implements Executor { protected Boolean mReady = false; protected List<Runnable> mPending = new LinkedList<Runnable>(); public ExecutorFragment(FragmentActivity parent) {
From source file org.rhq.core.pc.availability.AvailabilityCollectorThreadPool.java
/**
* A utility class that can be used by plugins whose components may not be able to collect availability statuses
* fast enough. This thread pool object can be used to submit {@link AvailabilityCollectorRunnable} instances,
* each of which will be used to collect availability statuses for a managed resource.
*
* This class is used in conjunction with instances of {@link AvailabilityCollectorRunnable} - read its javadoc for more.
From source file org.jcurl.core.ui.TaskExecutor.java
/**
* Dispatch {@link Task}s to the according {@link Executor}.
*
* <ul>
* <li>http://java.sun.com/javase/6/docs/api/javax/swing/SwingWorker.html</li>
* <li>Fowler: http://martinfowler.com/eaaDev/EventCollaboration.html</li>
From source file com.seovic.core.concurrent.ClusteredExecutorService.java
/**
* ExecutorService implementation that parallelizes task execution across the
* cluster nodes using Invocation Service.
*
* @author Aleksandar Seovic 2009.11.02
*/
From source file org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor.java
/**
* JavaBean that allows for configuring a JDK 1.5 {@link java.util.concurrent.ThreadPoolExecutor}
* in bean style (through its "corePoolSize", "maxPoolSize", "keepAliveSeconds", "queueCapacity"
* properties), exposing it as a Spring {@link org.springframework.core.task.TaskExecutor}.
* This is an alternative to configuring a ThreadPoolExecutor instance directly using
* constructor injection, with a separate {@link ConcurrentTaskExecutor} adapter wrapping it.
From source file com.seovic.coherence.util.concurrent.ClusteredExecutorService.java
/**
* ExecutorService implementation that parallelizes task execution across the
* cluster nodes using Invocation Service.
*
* @author Aleksandar Seovic 2009.11.02
*/
From source file org.opendaylight.vtn.manager.internal.VTNManagerProvider.java
/** * This interface defines an internal OSGi service which provides MD-SAL * VTN Manager services used by AD-SAL interface. */ public interface VTNManagerProvider extends AutoCloseable, Executor, TxQueue, FlowRpcWatcher { /**