Interface Cancelable

All Known Subinterfaces:
Subscription, Task

public interface Cancelable
Cancelable allows stopping long running tasks and freeing underlying resources.
Since:
2.1
Author:
Christoph Strobl
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Abort and free resources.
  • Method Details

    • cancel

      void cancel() throws org.springframework.dao.DataAccessResourceFailureException
      Abort and free resources.
      Throws:
      org.springframework.dao.DataAccessResourceFailureException - if operation cannot be canceled.