List of usage examples for com.google.common.util.concurrent FutureCallback interface-usage
From source file com.microsoft.alm.plugin.authentication.facades.AuthenticationInfoCallback.java
public interface AuthenticationInfoCallback extends FutureCallback<AuthenticationInfo> { void onSuccess(final AuthenticationInfo info); void onFailure(final Throwable t); }
From source file com.yahoo.yqlplus.engine.internal.java.functions.MethodHandleFutureCallback.java
public final class MethodHandleFutureCallback<V> implements FutureCallback<V> { private final MethodHandle success; private final MethodHandle failure; public MethodHandleFutureCallback(MethodHandle success, MethodHandle failure) { this.success = success;
From source file webchat.client.http.CallbackAdapter.java
/** * * @author Nick */ public class CallbackAdapter<V> implements FutureCallback<V> {
From source file org.opendaylight.hello.impl.LoggingFuturesCallBack.java
public class LoggingFuturesCallBack<V> implements FutureCallback<V> { private Logger LOG; private String message; public LoggingFuturesCallBack(String message, Logger LOG) {
From source file com.microsoft.artcurator.util.UICompatFutureCallback.java
public abstract class UICompatFutureCallback<V> implements FutureCallback<V> { Handler mHandler = new Handler(Looper.getMainLooper()); /** * Invoked with the result of the Future computation when it is successful.
From source file br.com.ufu.impl.LoggingFuturesCallBack.java
public class LoggingFuturesCallBack<V> implements FutureCallback<V> { private Logger LOG; private String message; public LoggingFuturesCallBack(String message, Logger LOG) {
From source file odl.example.impl.LoggingFuturesCallBack.java
/** * Created by geopet on 26/5/2016. */ public class LoggingFuturesCallBack<V> implements FutureCallback<V> { private Logger LOG;
From source file com.yahoo.yqlplus.engine.internal.java.runtime.PropagateFuture.java
public final class PropagateFuture<V> implements FutureCallback<V> { public static <V> void propagate(ListenableFuture<? extends V> source, SettableFuture<V> target) { Futures.addCallback(source, new PropagateFuture<V>(target)); } private final SettableFuture<V> target;
From source file eu.point.registry.impl.LoggingFuturesCallBack.java
/**
*The logging future callback class.
*
* @author George Petropoulos
* @version cycle-2
*/
From source file org.opendaylight.tl1.impl.LoggingFuturesCallBack.java
public class LoggingFuturesCallBack<V> implements FutureCallback<V> { private Logger LOG; private String message; public LoggingFuturesCallBack(String message, Logger LOG) {