akka.actor
Interface Cancellable


public interface Cancellable

Signifies something that can be cancelled There is no strict guarantee that the implementation is thread-safe, but it should be good practice to make it so.


Method Summary
 void cancel()
          Cancels this Cancellable Java & Scala API
 boolean isCancelled()
          Returns whether this Cancellable has been cancelled Java & Scala API
 

Method Detail

cancel

void cancel()
Cancels this Cancellable

Java & Scala API


isCancelled

boolean isCancelled()
Returns whether this Cancellable has been cancelled

Java & Scala API