List of usage examples for java.util.concurrent Callable interface-usage
From source file pt.lunacloud.services.storage.transfer.internal.UploadCallable.java
public class UploadCallable implements Callable<UploadResult> { private final LunacloudStorage s3; private final ExecutorService threadPool; private final PutObjectRequest putObjectRequest; private String multipartUploadId; private final UploadImpl upload;
From source file com.netsteadfast.greenstep.support.ExpressionJobExecuteCallable.java
public class ExpressionJobExecuteCallable implements Callable<ExpressionJobObj> { protected static Logger logger = Logger.getLogger(ExpressionJobExecuteCallable.class); private ExpressionJobObj jobObj = null; public ExpressionJobExecuteCallable(ExpressionJobObj jobObj) { this.jobObj = jobObj;
From source file com.sina.cloudstorage.services.scs.transfer.internal.UploadCallable.java
public class UploadCallable implements Callable<UploadResult> { private final SCS s3; private final ExecutorService threadPool; private final PutObjectRequest putObjectRequest; private String multipartUploadId; private final UploadImpl upload;
From source file org.mobicents.media.server.rtsp.action.SetupAction.java
/** * * @author amit bhayani * */ public class SetupAction implements Callable<FullHttpResponse> {
From source file cn.ctyun.amazonaws.services.s3.transfer.internal.UploadCallable.java
public class UploadCallable implements Callable<UploadResult> { private final AmazonS3 s3; private final ExecutorService threadPool; private final PutObjectRequest putObjectRequest; private String multipartUploadId; private final UploadImpl upload;
From source file org.nmdp.ngs.tools.GenerateBed.java
/** * Generate records in BED format. */ public final class GenerateBed implements Callable<Integer> { private final File bedFile; private final int n;
From source file com.amazonaws.services.s3.transfer.internal.CopyCallable.java
/**
* An implementation of the Callable interface that helps
* <code>TransferManager</code> in carrying out the copy requests. The call
* method checks if multi-part copy request can be carried out on the Amazon S3
* object. This is done by checking the size of the Amazon S3 object being
* copied.
From source file org.dishevelled.bio.tools.DownsampleInterleavedFastq.java
/** * Downsample sequences from a file in interleaved FASTQ format. * * @author Michael Heuer */ public final class DownsampleInterleavedFastq implements Callable<Integer> {
From source file org.nmdp.ngs.tools.DownsampleFastq.java
/** * Downsample sequences from files in FASTQ format. */ public final class DownsampleFastq implements Callable<Integer> { private final File inputFastqFile; private final File outputFastqFile;
From source file guru.qas.martini.runtime.harness.MartiniCallable.java
@SuppressWarnings({ "WeakerAccess", "unused" }) @Configurable public class MartiniCallable implements Callable<MartiniResult> { private static final Logger LOGGER = LoggerFactory.getLogger(MartiniCallable.class); private static final Pattern OUTLINE_PATTERN = Pattern.compile("^<(.*)>$");