Class SettableFutureCallback<T>
- java.lang.Object
-
- org.opendaylight.netvirt.elan.l2gw.utils.SettableFutureCallback<T>
-
- All Implemented Interfaces:
com.google.common.util.concurrent.FutureCallback<T>
public class SettableFutureCallback<T> extends java.lang.Object implements com.google.common.util.concurrent.FutureCallback<T>
-
-
Constructor Summary
Constructors Constructor Description SettableFutureCallback(com.google.common.util.concurrent.SettableFuture<T> settableFuture)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
onFailure(java.lang.Throwable throwable)
void
onSuccess(T objT)
-
-
-
Constructor Detail
-
SettableFutureCallback
public SettableFutureCallback(com.google.common.util.concurrent.SettableFuture<T> settableFuture)
-
-