- 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
-
Method Details
-
cancel
boolean cancel()Cancels the operation.- Returns:
trueif the cancellation was successful.
-