final class ExpiringItem extends Item
- Attributes
- protected
- Alphabetic
- By Inheritance
- ExpiringItem
- Item
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new ExpiringItem(id: Long, r: Ref[A], timerTask: TimerTask = () => {})
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[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
def
consume(): Unit
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
- ExpiringItem → Item
-
def
destroy(): Unit
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
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(that: Any): Boolean
- Definition Classes
- ExpiringItem → AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
get(): A
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
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- val id: Long
-
def
isDefined(): Boolean
- Definition Classes
- Item
-
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
offerSuccess(): Unit
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
- ExpiringItem → Item
-
val
r: Ref[A]
- Definition Classes
- Item
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- val timerTask: TimerTask
-
def
toString(): String
- Definition Classes
- 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
- @native() @throws( ... )