Package akka.actor
Interface Cancellable
- 
- All Known Subinterfaces:
- LightArrayRevolverScheduler.TimerTask
 - All Known Implementing Classes:
- LightArrayRevolverScheduler.TaskHolder
 
 public interface CancellableSignifies 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 SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description booleancancel()Cancels this Cancellable and returns true if that was successful.booleanisCancelled()Returns true if and only if this Cancellable has been successfully cancelled
 
- 
- 
- 
Method Detail- 
cancelboolean cancel() Cancels this Cancellable and returns true if that was successful. If this cancellable was (concurrently) cancelled already, then this method will return false although isCancelled will return true.Java & Scala API 
 - 
isCancelledboolean isCancelled() Returns true if and only if this Cancellable has been successfully cancelledJava & Scala API 
 
- 
 
-