List of usage examples for java.util.concurrent Callable interface-usage
From source file org.blocks4j.reconf.infra.http.layer.RequestTask.java
public class RequestTask implements Callable<SimpleHttpResponse> { private final CloseableHttpClient httpClient; private final HttpUriRequest request; public RequestTask(CloseableHttpClient httpClient, HttpUriRequest request) {
From source file org.royaldev.royalcommands.tools.UUIDFetcher.java
public class UUIDFetcher implements Callable<Map<String, UUID>> { private static final int MAX_SEARCH = 100; private static final String PROFILE_URL = "https://api.mojang.com/profiles/page/"; private static final String AGENT = "minecraft"; private final JSONParser jsonParser = new JSONParser();
From source file com.alibaba.doris.admin.service.failover.node.check.NodeCheckTask.java
/** * @deprecated * @author mian.hem * */ public class NodeCheckTask implements Callable<NodeCheckResult> {
From source file com.yahoo.parsec.clients.ParsecHttpRequestRetryCallable.java
/** * {@link Callable} implementation that handles HTTP request retry based on response status code. */ class ParsecHttpRequestRetryCallable<T> implements Callable<T> { /**
From source file dk.ange.octave.exec.OctaveWriterCallable.java
/** * Callable that writes to the octave process */ final class OctaveWriterCallable implements Callable<Void> { private static final org.apache.commons.logging.Log log = org.apache.commons.logging.LogFactory
From source file org.mule.module.mongo.tools.MongoRestoreDirectory.java
public class MongoRestoreDirectory implements Callable<Void> { private MongoClient mongoClient; private boolean drop; private boolean oplogReplay; private String inputPath; private String database;
From source file com.eatnumber1.util.concurrent.ExceptionReportingCallable.java
/** * @author Russell Harmon * @since Jul 13, 2007 */ public class ExceptionReportingCallable<T> implements Callable<T> { @NotNull
From source file io.kahu.hawaii.util.call.dispatch.AsyncCallableRequest.java
@NotThreadSafe public class AsyncCallableRequest<T> implements Callable<Response<T>> { private final AbortableRequest<T> abortableRequest; private final RequestDispatcher requestDispatcher; public AsyncCallableRequest(AbortableRequest<T> abortableRequest, RequestDispatcher requestDispatcher) {
From source file com.evolveum.midpoint.web.component.SecurityContextAwareCallable.java
/** * @author lazyman */ public abstract class SecurityContextAwareCallable<V> implements Callable<V> { private SecurityEnforcer enforcer;
From source file integrationtest.registration.context.ApplicationContextHolder.java
@OsgiService(registration = java.lang.Runnable.class) public class ApplicationContextHolder implements Callable<Void>, Runnable { @Autowired private ApplicationContext context;