Interface FutureEventListener<T>
-
- All Superinterfaces:
java.util.function.BiConsumer<T,java.lang.Throwable>
- All Known Implementing Classes:
OpStatsListener
public interface FutureEventListener<T> extends java.util.function.BiConsumer<T,java.lang.Throwable>Provide similar interface (as twitter future) over java future.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default voidaccept(T t, java.lang.Throwable throwable)voidonFailure(java.lang.Throwable cause)voidonSuccess(T value)
-