List of usage examples for java.util.concurrent Callable interface-usage
From source file com.synopsys.integration.blackduck.codelocation.bdioupload.UploadCallable.java
public class UploadCallable implements Callable<UploadOutput> { private final BlackDuckService blackDuckService; private final UploadTarget uploadTarget; public UploadCallable(BlackDuckService blackDuckService, UploadTarget uploadTarget) { this.blackDuckService = blackDuckService;
From source file org.silverpeas.core.silverstatistics.volume.service.DirectoryWalkerSizeComputer.java
/** * Compute the size in terms of number of files and total size of a directory. */ public class DirectoryWalkerSizeComputer implements Callable<DirectoryStats> { private final File directory;
From source file com.anrisoftware.sscontrol.scripts.locale.ubuntu.UbuntuInstallLocale.java
/**
* <i>Ubuntu</i> locale installer.
*
* @author Erwin Mueller, erwin.mueller@deventm.org
* @since 1.0
*/
From source file org.kyupi.misc.KyupiApp.java
/**
* handles common command line options and provides utilities to build main
* applications.
*
* To build a new application, subclass KyupiApp and add a main function:
*
From source file io.cloudslang.content.utilities.util.ProcessStreamConsumer.java
public class ProcessStreamConsumer implements Callable<ProcessResponseEntity> { private static final int ERROR_CODE = -1; private final Process process; public ProcessStreamConsumer(Process process) { this.process = process;
From source file org.kyupi.apps.App.java
/**
* handles common command line options and provides utilities to build main
* applications.
*
* To build a new application, subclass App and add a main function:
*
From source file com.dsh105.commodus.UUIDFetcher.java
/**
* @author evilmidget38
* <p>
* http://forums.bukkit.org/threads/250926/
* <p>
* https://gist.github.com/evilmidget38/26d70114b834f71fb3b4
From source file com.dattack.dbcopy.engine.DbCopyTask.java
/** * @author cvarela * @since 0.1 */ class DbCopyTask implements Callable<DbCopyTaskResult> {
From source file de.bmarwell.j9kwsolver.action.CaptchaGetThread.java
/** * With this thread, the API will call for an image, * auto-accept it and retrieves its contents. * @author Benjamin Marwell */ public class CaptchaGetThread implements Callable<Captcha> {
From source file com.dattack.dbcopy.engine.InsertOperationContext.java
/**
* Executes the INSERT operations.
*
* @author cvarela
* @since 0.1
*/