Class/Object

zio.stm

TQueue

Related Docs: object TQueue | package stm

Permalink

final class TQueue[A] extends AnyRef

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TQueue
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

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. val capacity: Int

    Permalink
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. final def getClass(): Class[_]

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

    Permalink
    Definition Classes
    AnyRef → Any
  12. def isEmpty: USTM[Boolean]

    Permalink

    Checks if the queue is empty.

  13. def isFull: USTM[Boolean]

    Permalink

    Checks if the queue is at capacity.

  14. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  15. def last: USTM[A]

    Permalink

    Views the last element inserted into the queue, retrying if the queue is empty.

  16. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  19. def offer(a: A): USTM[Unit]

    Permalink

    Offers the specified value to the queue, retrying if the queue is at capacity.

  20. def offerAll(as: Iterable[A]): USTM[Iterable[A]]

    Permalink

    Offers each of the elements in the specified collection to the queue up to the maximum capacity of the queue, retrying if there is not capacity in the queue for all of these elements.

    Offers each of the elements in the specified collection to the queue up to the maximum capacity of the queue, retrying if there is not capacity in the queue for all of these elements. Returns any remaining elements in the specified collection.

  21. def peek: USTM[A]

    Permalink

    Views the next element in the queue without removing it, retrying if the queue is empty.

  22. def peekOption: USTM[Option[A]]

    Permalink

    Views the next element in the queue without removing it, returning None if the queue is empty.

  23. def poll: USTM[Option[A]]

    Permalink

    Takes a single element from the queue, returning None if the queue is empty.

  24. def seek(f: (A) ⇒ Boolean): USTM[A]

    Permalink

    Drops elements from the queue while they do not satisfy the predicate, taking and returning the first element that does satisfy the predicate.

    Drops elements from the queue while they do not satisfy the predicate, taking and returning the first element that does satisfy the predicate. Retries if no elements satisfy the predicate.

  25. def size: USTM[Int]

    Permalink

    Returns the number of elements currently in the queue.

  26. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  27. def take: USTM[A]

    Permalink

    Takes a single element from the queue, retrying if the queue is empty.

  28. def takeAll: USTM[List[A]]

    Permalink

    Takes all elements from the queue.

  29. def takeUpTo(max: Int): USTM[List[A]]

    Permalink

    Takes up to the specified maximum number of elements from the queue.

  30. def toString(): String

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

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped