Class

io.github.andrebeat.pool.ExpiringPool

ExpiringItem

Related Doc: package ExpiringPool

Permalink

final class ExpiringItem extends Item

Attributes
protected
Linear Supertypes
ExpiringPool.Item, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ExpiringItem
  2. Item
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ExpiringItem(id: Long, r: Ref[A], timerTask: TimerTask = () => {})

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def consume(): Unit

    Permalink

    This method is called whenever the item is consumed from the queue.

    This method is called whenever the item is consumed from the queue.

    Definition Classes
    ExpiringItemItem
  7. def destroy(): Unit

    Permalink

    This method is only called whenever using a Soft/Weak reference that was invalidated by the garbage collector.

    This method is only called whenever using a Soft/Weak reference that was invalidated by the garbage collector. Whenever this method is called it is considered that the value is consumed.

    Definition Classes
    Item
  8. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  9. def equals(that: Any): Boolean

    Permalink
    Definition Classes
    ExpiringItem → AnyRef → Any
  10. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. def get(): A

    Permalink

    This method should only be called from this class and it is guaranteed that the value is always defined before calling.

    This method should only be called from this class and it is guaranteed that the value is always defined before calling. Whenever this method is called it is considered that the value is consumed.

    Definition Classes
    Item
  12. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  13. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  14. val id: Long

    Permalink
  15. def isDefined(): Boolean

    Permalink
    Definition Classes
    Item
  16. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  17. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  18. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  19. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  20. def offerSuccess(): Unit

    Permalink

    This method is called whenever the item is successfully inserted in the queue.

    This method is called whenever the item is successfully inserted in the queue.

    Definition Classes
    ExpiringItemItem
  21. val r: Ref[A]

    Permalink
    Definition Classes
    Item
  22. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  23. val timerTask: TimerTask

    Permalink
  24. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  25. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from ExpiringPool.Item

Inherited from AnyRef

Inherited from Any

Ungrouped