List of usage examples for java.util.concurrent Callable interface-usage
From source file org.apache.hadoop.hbase.procedure.Subprocedure.java
/**
* Distributed procedure member's Subprocedure. A procedure is sarted on a ProcedureCoordinator
* which communicates with ProcedureMembers who create and start its part of the Procedure. This
* sub part is called a Subprocedure
*
* Users should subclass this and implement {@link #acquireBarrier()} (get local barrier for this
From source file org.apache.sysml.runtime.controlprogram.paramserv.LocalPSWorker.java
public class LocalPSWorker extends PSWorker implements Callable<Void> { protected static final Log LOG = LogFactory.getLog(LocalPSWorker.class.getName()); public LocalPSWorker(int workerID, String updFunc, Statement.PSFrequency freq, int epochs, long batchSize, MatrixObject valFeatures, MatrixObject valLabels, ExecutionContext ec, ParamServer ps) {
From source file org.apache.sling.maven.slingstart.run.LauncherCallable.java
/** * A callable for launchpad an instance */ public class LauncherCallable implements Callable<ProcessDescription> { private final LaunchpadEnvironment environment;
From source file com.itemanalysis.psychometrics.mixture.MvNormalMixtureModel.java
public class MvNormalMixtureModel implements MixtureModel, Callable<MvNormalMixtureModel> { private boolean sameVarianceWithin = true; private boolean sameCovarianceWithin = true;
From source file org.rhq.core.pc.inventory.AvailabilityProxy.java
/**
* Proxy class for executing availability checks. Checks are done using a
* supplied thread pool. If the resource availability does not return within one
* second, the next call to {@link #getAvailability()} will return the
* calculated availability, if available.
*
From source file FutureTest.java
/** * This task counts the files in a directory and its subdirectories that contain a given keyword. */ class MatchCounter implements Callable<Integer> { /** * Constructs a MatchCounter.
From source file com.exzogeni.dk.http.HttpTask.java
/** * @author Daniel Serdyukov */ public abstract class HttpTask<V> implements Callable<V> { private static final AtomicInteger SEQUENCE = new AtomicInteger();
From source file com.baifendian.swordfish.execserver.runner.streaming.StreamingRunner.java
public class StreamingRunner implements Callable<Boolean> { /** * ?? */ private StreamingResult streamingResult;
From source file com.clank.launcher.launch.Runner.java
/** * Handles the launching of an instance. */ @Log public class Runner implements Callable<Process>, ProgressObservable {
From source file org.rhq.core.pc.configuration.UpdateResourceConfigurationRunner.java
/** * Performs the actual configuration of a resource by invoking the configuration facet of a resource component. * * @author Mark Spritzler */ public class UpdateResourceConfigurationRunner implements Runnable, Callable<ConfigurationUpdateResponse> {