Interface CallCompletion
-
- All Superinterfaces:
java.lang.AutoCloseable
public interface CallCompletion extends java.lang.AutoCloseable
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default void
close()
void
close(long endTimeNanos)
default <T> void
closeCompletion(long endTimeNanos, T value, java.lang.Throwable error)
default <T> void
closeCompletion(T value, java.lang.Throwable error)
default void
closeWithError()
default void
closeWithError(long endTimeNanos)
void
closeWithError(long endTimeNanos, java.lang.Throwable error)
default void
closeWithError(java.lang.Throwable error)
static CallCompletion
combine(CallCompletion... completions)
-
-
-
Method Detail
-
close
default void close()
- Specified by:
close
in interfacejava.lang.AutoCloseable
-
closeWithError
default void closeWithError()
-
closeWithError
default void closeWithError(@Nonnull java.lang.Throwable error)
-
closeCompletion
default <T> void closeCompletion(T value, java.lang.Throwable error)
-
close
void close(@Nonnegative long endTimeNanos)
-
closeWithError
default void closeWithError(@Nonnegative long endTimeNanos)
-
closeWithError
void closeWithError(@Nonnegative long endTimeNanos, @Nonnull java.lang.Throwable error)
-
closeCompletion
default <T> void closeCompletion(@Nonnegative long endTimeNanos, T value, java.lang.Throwable error)
-
combine
static CallCompletion combine(CallCompletion... completions)
-
-