Interface CallCompletion

  • All Superinterfaces:
    java.lang.AutoCloseable

    public interface CallCompletion
    extends java.lang.AutoCloseable
    • Method Detail

      • close

        default void close()
        Specified by:
        close in interface java.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)