List of usage examples for java.util.concurrent Callable interface-usage
From source file nl.b3p.viewer.image.ImageCollector.java
/** * ImageCollector definition: */ public class ImageCollector implements Callable<ImageCollector> { private static final Log log = LogFactory.getLog(ImageCollector.class);
From source file com.cloudera.oryx.kmeans.computation.local.Standarize.java
public final class Standarize implements Callable<List<List<RealVector>>> { private static final Logger log = LoggerFactory.getLogger(Standarize.class); private final File inputDir; private final Summary summary;
From source file com.anrisoftware.sscontrol.scripts.killprocess.KillProcess.java
/**
* Kills a process.
*
* @author Erwin Mueller, erwin.mueller@deventm.org
* @since 1.0
*/
From source file com.github.rholder.esthree.command.Get.java
public class Get implements Callable<Integer> { public static final int DEFAULT_BUF_SIZE = 4096 * 4; public AmazonS3Client amazonS3Client; public String bucket;
From source file org.apache.hadoop.hdfs.server.namenode.InitialReportWorker.java
/**
* Worker class for initial in-safemode block reports. Each worker traverses a
* part of input block report. For each block it calls addStoredBlock, which
* only changes stored blocks in the blocks map, the datanode descriptor itself
* is not changed!! The worker collects all its blocks into a linked list, which
* is later inserted into the datanode descriptor.
From source file com.cloudera.oryx.kmeans.computation.local.Standardize.java
public final class Standardize implements Callable<List<List<RealVector>>> { private static final Logger log = LoggerFactory.getLogger(Standardize.class); private final File inputDir; private final Summary summary;
From source file org.rhq.core.pc.measurement.MeasurementCollectorRunner.java
/**
* Executes the collection of measurements. Every call results in one new batch of measurements collected. Each batch is
* limited to a single resource and the measurements that are due to be collected at that time.
*
* @author Greg Hinkle
*/
From source file org.rhq.core.pc.inventory.CreateResourceRunner.java
/** * Runnable implementation to thread create request requests. * * @author Jason Dobies */ public class CreateResourceRunner implements Callable, Runnable {
From source file net.sf.mpaxs.test.DistributedRmiExecution.java
/** * * @author Nils Hoffmann */ public class DistributedRmiExecution implements Callable<Double>, Serializable {
From source file com.spectralogic.ds3cli.command.CliCommand.java
public abstract class CliCommand<T extends Result> implements Callable<T> { protected final static List<Option> EMPTY_LIST = Collections.emptyList(); private Ds3Provider ds3Provider; private FileSystemProvider fileSystemProvider;