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 voidclose()voidclose(long endTimeNanos)default <T> voidcloseCompletion(long endTimeNanos, T value, java.lang.Throwable error)default <T> voidcloseCompletion(T value, java.lang.Throwable error)default voidcloseWithError()default voidcloseWithError(long endTimeNanos)voidcloseWithError(long endTimeNanos, java.lang.Throwable error)default voidcloseWithError(java.lang.Throwable error)static CallCompletioncombine(CallCompletion... completions)
-
-
-
Method Detail
-
close
default void close()
- Specified by:
closein 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)
-
-