Packages

c

com.twitter.util

LastWriteWinsQueue

class LastWriteWinsQueue[A] extends Queue[A]

An implementation of java.util.Queue that has LIFO order and a maximum capacity of 1 When the Queue is full, a push replaces the item.

Linear Supertypes
Queue[A], Collection[A], Iterable[A], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. LastWriteWinsQueue
  2. Queue
  3. Collection
  4. Iterable
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new LastWriteWinsQueue()

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def add(p1: A): Boolean
    Definition Classes
    LastWriteWinsQueue → Queue → Collection
  5. def addAll(p1: Collection[_ <: A]): Nothing
    Definition Classes
    LastWriteWinsQueue → Collection
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clear(): Unit
    Definition Classes
    LastWriteWinsQueue → Collection
  8. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  9. def contains(p1: AnyRef): Boolean
    Definition Classes
    LastWriteWinsQueue → Collection
  10. def containsAll(p1: Collection[_]): Boolean
    Definition Classes
    LastWriteWinsQueue → Collection
  11. def element(): A
    Definition Classes
    LastWriteWinsQueue → Queue
  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  14. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. def forEach(arg0: Consumer[_ >: A]): Unit
    Definition Classes
    Iterable
  16. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  17. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  18. def isEmpty(): Boolean
    Definition Classes
    LastWriteWinsQueue → Collection
  19. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  20. val item: AtomicReference[Option[A]]
  21. def iterator(): Null
    Definition Classes
    LastWriteWinsQueue → Collection → Iterable
  22. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  24. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  25. def offer(p1: A): Boolean
    Definition Classes
    LastWriteWinsQueue → Queue
  26. def parallelStream(): Stream[A]
    Definition Classes
    Collection
  27. def peek(): A
    Definition Classes
    LastWriteWinsQueue → Queue
  28. def poll(): A
    Definition Classes
    LastWriteWinsQueue → Queue
  29. def remove(): A
    Definition Classes
    LastWriteWinsQueue → Queue
  30. def remove(candidate: AnyRef): Boolean
    Definition Classes
    LastWriteWinsQueue → Collection
  31. def removeAll(p1: Collection[_]): Nothing
    Definition Classes
    LastWriteWinsQueue → Collection
  32. def removeIf(arg0: Predicate[_ >: A]): Boolean
    Definition Classes
    Collection
  33. def retainAll(p1: Collection[_]): Nothing
    Definition Classes
    LastWriteWinsQueue → Collection
  34. def size(): Int
    Definition Classes
    LastWriteWinsQueue → Collection
  35. def spliterator(): Spliterator[A]
    Definition Classes
    Collection → Iterable
  36. def stream(): Stream[A]
    Definition Classes
    Collection
  37. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  38. def toArray(): Array[AnyRef with AnyRef]
    Definition Classes
    LastWriteWinsQueue → Collection
  39. def toArray[T](array: Array[T]): Array[T]
    Definition Classes
    LastWriteWinsQueue → Collection
  40. def toString(): String
    Definition Classes
    AnyRef → Any
  41. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  42. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  43. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Inherited from Queue[A]

Inherited from Collection[A]

Inherited from Iterable[A]

Inherited from AnyRef

Inherited from Any

Ungrouped