Module bus.http

Interface Cancelable

All Known Subinterfaces:
GiveCall
All Known Implementing Classes:
CoverCall, CoverCall.Client, CoverHttp, CoverHttp.Async, CoverHttp.Sync

public interface Cancelable
An interface for operations that can be canceled.
Since:
Java 17+
Author:
Kimi Liu
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Cancels the operation.
  • Method Details

    • cancel

      boolean cancel()
      Cancels the operation.
      Returns:
      true if the cancellation was successful.