List of usage examples for org.apache.http.concurrent FutureCallback interface-usage
From source file xyz.cloudbans.client.utils.httpclient.DeafFutureCallback.java
public class DeafFutureCallback<T> implements FutureCallback<T> { public static final DeafFutureCallback<?> INSTANCE = new DeafFutureCallback<>(); @Override public void completed(T t) {
From source file com.ok2c.lightmtp.impl.protocol.OutputTrigger.java
class OutputTrigger<T> implements FutureCallback<T> { final ServerState state; final IOSession iosession; public OutputTrigger(final ServerState state, final IOSession iosession) {
From source file org.glowroot.agent.plugin.httpclient.FutureCallbackWrapperForNullDelegate.java
public class FutureCallbackWrapperForNullDelegate<T> implements FutureCallback<T> { private final AsyncTraceEntry asyncTraceEntry; public FutureCallbackWrapperForNullDelegate(AsyncTraceEntry asyncTraceEntry) { this.asyncTraceEntry = asyncTraceEntry;
From source file xyz.cloudbans.client.internal.httpclient.EventCallback.java
public class EventCallback implements FutureCallback<Event> { private EventListener eventListener; public EventCallback(EventListener eventListener) { this.eventListener = eventListener;
From source file org.glowroot.agent.plugin.httpclient.FutureCallbackWithoutEntryWrapper.java
public class FutureCallbackWithoutEntryWrapper<T> implements FutureCallback<T> { private final FutureCallback<T> delegate; private final AuxThreadContext auxContext; public FutureCallbackWithoutEntryWrapper(FutureCallback<T> delegate, AuxThreadContext auxContext) {
From source file org.glowroot.agent.plugin.httpclient.FutureCallbackWrapper.java
public class FutureCallbackWrapper<T> implements FutureCallback<T> { private final FutureCallback<T> delegate; private final AsyncTraceEntry asyncTraceEntry; private final AuxThreadContext auxContext;
From source file com.mashape.galileo.agent.network.AnalyticsResponseCallback.java
public class AnalyticsResponseCallback implements FutureCallback<Boolean> { final static Logger LOGGER = Logger.getLogger(AnalyticsResponseCallback.class); @Override public void cancelled() { LOGGER.debug("flush request cancelled");
From source file com.wso2telco.util.BasicFutureCallback.java
public class BasicFutureCallback implements FutureCallback<HttpResponse> { private static Log log = LogFactory.getLog(BasicFutureCallback.class); protected HttpPost postRequest = new HttpPost(); protected CloseableHttpAsyncClient client;
From source file com.wso2telco.gsma.authenticators.util.BasicFutureCallback.java
public class BasicFutureCallback implements FutureCallback<HttpResponse> { private static Log log = LogFactory.getLog(BasicFutureCallback.class); protected HttpPost postRequest = new HttpPost(); protected CloseableHttpAsyncClient client;
From source file com.qwazr.cluster.manager.ClusterNode.java
public class ClusterNode implements FutureCallback<HttpResponse> { private static final Logger logger = LoggerFactory.getLogger(ClusterNode.class); public final String address;