HashedWheelTimeout

cc.otavia.core.timer.HashedWheelTimer.HashedWheelTimeout
final class HashedWheelTimeout(val timer: HashedWheelTimer, val task: TimerTask, val createTime: Long, val delay: Long, val period: Long) extends AtomicInteger, Timeout, Runnable

Attributes

Graph
Supertypes
trait Runnable
trait Timeout
class AtomicInteger
class Number
trait Serializable
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

override 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

Definition Classes
def expire(): Unit
override 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

Definition Classes
override 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

Definition Classes
override def periodic: Boolean

Returns true if and only if the Timeout is periodic.

Returns true if and only if the Timeout is periodic.

Attributes

Definition Classes
def remove(): Unit
override def run(): Unit

Attributes

Definition Classes
Runnable
def state: Int

Inherited methods

final def accumulateAndGet(x$0: Int, x$1: IntBinaryOperator): Int

Attributes

Inherited from:
AtomicInteger
final def addAndGet(x$0: Int): Int

Attributes

Inherited from:
AtomicInteger
def byteValue(): Byte

Attributes

Inherited from:
Number
def cleanNext(): Unit

Attributes

Inherited from:
Nextable (hidden)
final def compareAndExchange(x$0: Int, x$1: Int): Int

Attributes

Inherited from:
AtomicInteger
final def compareAndExchangeAcquire(x$0: Int, x$1: Int): Int

Attributes

Inherited from:
AtomicInteger
final def compareAndExchangeRelease(x$0: Int, x$1: Int): Int

Attributes

Inherited from:
AtomicInteger
final def compareAndSet(x$0: Int, x$1: Int): Boolean

Attributes

Inherited from:
AtomicInteger
def deChain(): Unit

Attributes

Inherited from:
Nextable (hidden)
final def decrementAndGet(): Int

Attributes

Inherited from:
AtomicInteger
def doubleValue(): Double

Attributes

Inherited from:
AtomicInteger
def floatValue(): Float

Attributes

Inherited from:
AtomicInteger
final def get(): Int

Attributes

Inherited from:
AtomicInteger
final def getAcquire(): Int

Attributes

Inherited from:
AtomicInteger
final def getAndAccumulate(x$0: Int, x$1: IntBinaryOperator): Int

Attributes

Inherited from:
AtomicInteger
final def getAndAdd(x$0: Int): Int

Attributes

Inherited from:
AtomicInteger
final def getAndDecrement(): Int

Attributes

Inherited from:
AtomicInteger
final def getAndIncrement(): Int

Attributes

Inherited from:
AtomicInteger
final def getAndSet(x$0: Int): Int

Attributes

Inherited from:
AtomicInteger
final def getAndUpdate(x$0: IntUnaryOperator): Int

Attributes

Inherited from:
AtomicInteger
final def getOpaque(): Int

Attributes

Inherited from:
AtomicInteger
final def getPlain(): Int

Attributes

Inherited from:
AtomicInteger
final def incrementAndGet(): Int

Attributes

Inherited from:
AtomicInteger
def intValue(): Int

Attributes

Inherited from:
AtomicInteger
def isTail: Boolean

Attributes

Inherited from:
Nextable (hidden)
final def lazySet(x$0: Int): Unit

Attributes

Inherited from:
AtomicInteger
def longValue(): Long

Attributes

Inherited from:
AtomicInteger
def next: Nextable | Null

Attributes

Inherited from:
Nextable (hidden)
def next_=(next: Nextable): Unit

Set the next object of this object.

Set the next object of this object.

Attributes

Inherited from:
Nextable (hidden)
def notInChain: Boolean

true if and only if this object is not in any chain

true if and only if this object is not in any chain

Attributes

Inherited from:
Nextable (hidden)
final def set(x$0: Int): Unit

Attributes

Inherited from:
AtomicInteger
final def setOpaque(x$0: Int): Unit

Attributes

Inherited from:
AtomicInteger
final def setPlain(x$0: Int): Unit

Attributes

Inherited from:
AtomicInteger
final def setRelease(x$0: Int): Unit

Attributes

Inherited from:
AtomicInteger
def shortValue(): Short

Attributes

Inherited from:
Number
def toString(): String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Inherited from:
AtomicInteger
final def updateAndGet(x$0: IntUnaryOperator): Int

Attributes

Inherited from:
AtomicInteger
final def weakCompareAndSetAcquire(x$0: Int, x$1: Int): Boolean

Attributes

Inherited from:
AtomicInteger
final def weakCompareAndSetPlain(x$0: Int, x$1: Int): Boolean

Attributes

Inherited from:
AtomicInteger
final def weakCompareAndSetRelease(x$0: Int, x$1: Int): Boolean

Attributes

Inherited from:
AtomicInteger
final def weakCompareAndSetVolatile(x$0: Int, x$1: Int): Boolean

Attributes

Inherited from:
AtomicInteger

Deprecated and Inherited methods

@Deprecated(since = "9")
final def weakCompareAndSet(x$0: Int, x$1: Int): Boolean

Attributes

Deprecated
true
Inherited from:
AtomicInteger

Concrete fields

val createTime: Long
val delay: Long
val period: Long
var remainingRounds: Long

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