Interface Interruptible

  • All Implemented Interfaces:

    
    public interface Interruptible
    
                        

    Samplers which are able to interrupt a potentially long-running operation should implement this interface.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract boolean interrupt() Interrupt the current operation if possible.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • interrupt

         abstract boolean interrupt()

        Interrupt the current operation if possible.

        Returns:

        true if there was an operation to interrupt.