Timeout

cc.otavia.core.timer.Timeout
trait Timeout

A handle associated with a TimerTask that is returned by a InternalTimer.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Members list

Value members

Abstract methods

def cancel: Boolean

Attempts to cancel the TimerTask associated with this handle. If the task has been executed or cancelled already, it will return with no side effect.

Attempts to cancel the TimerTask associated with this handle. If the task has been executed or cancelled already, it will return with no side effect.

Attributes

Returns

True if the cancellation completed successfully, otherwise false

def isCancelled: Boolean

Returns true if and only if the TimerTask associated with this handle has been cancelled.

Returns true if and only if the TimerTask associated with this handle has been cancelled.

Attributes

def isExpired: Boolean

Returns true if and only if the TimerTask associated with this handle has been expired.

Returns true if and only if the TimerTask associated with this handle has been expired.

Attributes

def periodic: Boolean

Returns true if and only if the Timeout is periodic.

Returns true if and only if the Timeout is periodic.

Attributes

Returns the TimerTask which is associated with this handle.

Returns the TimerTask which is associated with this handle.

Attributes

Returns the InternalTimer that created this handle.

Returns the InternalTimer that created this handle.

Attributes