Interface CancelEventTrigger

All Superinterfaces:
EventListener
All Known Subinterfaces:
CancelEventTrigger

public interface CancelEventTrigger extends EventListener
Interface implemented by multi-threaded operations that can be cancelled prior to finishing.
Author:
James Murty
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    cancelTask(Object eventSource)
    Triggers a cancellation of some operation.
  • Method Details

    • cancelTask

      void cancelTask(Object eventSource)
      Triggers a cancellation of some operation.
      Parameters:
      eventSource - the object source that triggered the cancellation, useful for logging purposes.