object Signal extends TaskCancellationStrategy
Cancel handler which registers for SIGINT and cancels tasks when it is received.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Signal
- TaskCancellationStrategy
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Type Members
-
type
State = Registration
The state used by this task.
The state used by this task.
- Definition Classes
- Signal → TaskCancellationStrategy
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
onTaskEngineFinish(registration: Registration): Unit
Called when task evaluation completes, either in success or failure.
Called when task evaluation completes, either in success or failure.
- Definition Classes
- Signal → TaskCancellationStrategy
-
def
onTaskEngineStart(canceller: RunningTaskEngine): Registration
Called when task evaluation starts.
Called when task evaluation starts.
- canceller
An object that can cancel the current task evaluation session.
- returns
Whatever state you need to cleanup in your finish method.
- Definition Classes
- Signal → TaskCancellationStrategy
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- Signal → AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()