Packages

c

molecule.datomic.peer.facade

TxReportQueue

case class TxReportQueue(javaQueue: BlockingQueue[Map[_, _]]) extends JavaConversions with Product with Serializable

A transaction report queue associated with a connection.

The molecule TxReportQueue is a wrapper of the BlockingQueue returned by a Datomic Peer Connection.

This queue may be safely consumed from more than one thread. Note that the queue does not block producers, and will consume memory until you consume the elements from it.

Source
TxReportQueue.scala
See also

https://docs.datomic.com/on-prem/javadoc/datomic/Connection.html#txReportQueue-- datomic.Connection.txReportQueue()

Linear Supertypes
Serializable, Serializable, Product, Equals, JavaConversions, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TxReportQueue
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. JavaConversions
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new TxReportQueue(javaQueue: BlockingQueue[Map[_, _]])

Type Members

  1. class AsJava[A] extends AnyRef

    Generic class containing the asJava converter method

    Generic class containing the asJava converter method

    Definition Classes
    JavaConversions
  2. class AsJavaCollection[A] extends AnyRef

    Generic class containing the asJavaCollection converter method

    Generic class containing the asJavaCollection converter method

    Definition Classes
    JavaConversions
  3. class AsJavaDictionary[K, V] extends AnyRef

    Generic class containing the asJavaDictionary converter method

    Generic class containing the asJavaDictionary converter method

    Definition Classes
    JavaConversions
  4. class AsJavaEnumeration[A] extends AnyRef

    Generic class containing the asJavaEnumeration converter method

    Generic class containing the asJavaEnumeration converter method

    Definition Classes
    JavaConversions
  5. class AsScala[A] extends AnyRef

    Generic class containing the asScala converter method

    Generic class containing the asScala converter method

    Definition Classes
    JavaConversions

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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. implicit def asJavaCollectionConverter[A](i: Iterable[A]): AsJavaCollection[A]

    Adds an asJavaCollection method that implicitly converts a Scala Iterable to an immutable Java Collection.

    Adds an asJavaCollection method that implicitly converts a Scala Iterable to an immutable Java Collection.

    Definition Classes
    JavaConversions
  6. implicit def asJavaDictionaryConverter[K, V](m: Map[K, V]): AsJavaDictionary[K, V]

    Adds an asJavaDictionary method that implicitly converts a Scala mutable Map to a Java Dictionary.

    Adds an asJavaDictionary method that implicitly converts a Scala mutable Map to a Java Dictionary.

    Definition Classes
    JavaConversions
  7. implicit def asJavaEnumerationConverter[A](i: Iterator[A]): AsJavaEnumeration[A]

    Adds an asJavaEnumeration method that implicitly converts a Scala Iterator to a Java Enumeration.

    Adds an asJavaEnumeration method that implicitly converts a Scala Iterator to a Java Enumeration.

    Definition Classes
    JavaConversions
  8. def asJavaIterable[A](i: Iterable[A]): Iterable[A]
    Definition Classes
    JavaConversions
  9. implicit def asJavaIterableConverter[A](i: Iterable[A]): AsJava[Iterable[A]]

    Adds an asJava method that implicitly converts a Scala Iterable to a Java Iterable.

    Adds an asJava method that implicitly converts a Scala Iterable to a Java Iterable.

    Definition Classes
    JavaConversions
  10. def asJavaIterator[A](i: Iterator[A]): Iterator[A]
    Definition Classes
    JavaConversions
  11. implicit def asJavaIteratorConverter[A](i: Iterator[A]): AsJava[Iterator[A]]

    Adds an asJava method that implicitly converts a Scala Iterator to a Java Iterator.

    Adds an asJava method that implicitly converts a Scala Iterator to a Java Iterator.

    Definition Classes
    JavaConversions
  12. def asScalaBuffer[A](l: List[A]): Buffer[A]
    Definition Classes
    JavaConversions
  13. implicit def asScalaBufferConverter[A](l: List[A]): AsScala[Buffer[A]]

    Adds an asScala method that implicitly converts a Java List to a Scala mutable Buffer.

    Adds an asScala method that implicitly converts a Java List to a Scala mutable Buffer.

    Definition Classes
    JavaConversions
  14. def asScalaIterator[A](i: Iterator[A]): Iterator[A]
    Definition Classes
    JavaConversions
  15. implicit def asScalaIteratorConverter[A](i: Iterator[A]): AsScala[Iterator[A]]

    Adds an asScala method that implicitly converts a Java Iterator to a Scala Iterator.

    Adds an asScala method that implicitly converts a Java Iterator to a Scala Iterator.

    Definition Classes
    JavaConversions
  16. def asScalaSet[A](s: Set[A]): Set[A]
    Definition Classes
    JavaConversions
  17. implicit def asScalaSetConverter[A](s: Set[A]): AsScala[Set[A]]

    Adds an asScala method that implicitly converts a Java Set to a Scala mutable Set.

    Adds an asScala method that implicitly converts a Java Set to a Scala mutable Set.

    Definition Classes
    JavaConversions
  18. def bufferAsJavaList[A](b: Buffer[A]): List[A]
    Definition Classes
    JavaConversions
  19. implicit def bufferAsJavaListConverter[A](b: Buffer[A]): AsJava[List[A]]

    Adds an asJava method that implicitly converts a Scala mutable Buffer to a Java List.

    Adds an asJava method that implicitly converts a Scala mutable Buffer to a Java List.

    Definition Classes
    JavaConversions
  20. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  21. def collectionAsScalaIterable[A](i: Collection[A]): Iterable[A]
    Definition Classes
    JavaConversions
  22. implicit def collectionAsScalaIterableConverter[A](i: Collection[A]): AsScala[Iterable[A]]

    Adds an asScala method that implicitly converts a Java Collection to an Scala Iterable.

    Adds an asScala method that implicitly converts a Java Collection to an Scala Iterable.

    Definition Classes
    JavaConversions
  23. def dictionaryAsScalaMap[A, B](p: Dictionary[A, B]): Map[A, B]
    Definition Classes
    JavaConversions
  24. implicit def dictionaryAsScalaMapConverter[K, V](p: Dictionary[K, V]): AsScala[Map[K, V]]

    Adds an asScala method that implicitly converts a Java Dictionary to a Scala mutable Map.

    Adds an asScala method that implicitly converts a Java Dictionary to a Scala mutable Map.

    Definition Classes
    JavaConversions
  25. def drain(maxReports: Int): List[TxReport]

    Removes at most the given number of available transaction reports from this queue and returns them as a list.

    Removes at most the given number of available transaction reports from this queue and returns them as a list.

    This operation may be more efficient than repeatedly polling this queue.

    maxReports

    the maximum number of reports to transfer.

    returns

    a list of all available tranaction reports.

  26. def drain: List[TxReport]

    Removes all available transaction reports from this queue and returns them as a list.

    Removes all available transaction reports from this queue and returns them as a list.

    This operation may be more efficient than repeatedly polling this queue.

    returns

    a list of all available tranaction reports.

  27. def enumerationAsScalaIterator[A](i: Enumeration[A]): Iterator[A]
    Definition Classes
    JavaConversions
  28. implicit def enumerationAsScalaIteratorConverter[A](i: Enumeration[A]): AsScala[Iterator[A]]

    Adds an asScala method that implicitly converts a Java Enumeration to a Scala Iterator.

    Adds an asScala method that implicitly converts a Java Enumeration to a Scala Iterator.

    Definition Classes
    JavaConversions
  29. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  30. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  31. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  32. def isEmpty: Boolean

    Returns true if this queue contains no transaction reports.

    Returns true if this queue contains no transaction reports.

    returns

    true if this queue contains no transaction reports.

  33. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  34. def iterableAsScalaIterable[A](i: Iterable[A]): Iterable[A]
    Definition Classes
    JavaConversions
  35. implicit def iterableAsScalaIterableConverter[A](i: Iterable[A]): AsScala[Iterable[A]]

    Adds an asScala method that implicitly converts a Java Iterable to a Scala Iterable.

    Adds an asScala method that implicitly converts a Java Iterable to a Scala Iterable.

    Definition Classes
    JavaConversions
  36. def iterator: Iterator[TxReport]

    Returns an iterator over the transaction reports in this queue.

    Returns an iterator over the transaction reports in this queue.

    returns

    an Iterator over the transaction reports in this queue.

  37. val javaQueue: BlockingQueue[Map[_, _]]
  38. def mapAsJavaConcurrentMap[K, V](m: Map[K, V]): ConcurrentMap[K, V]
    Definition Classes
    JavaConversions
  39. implicit def mapAsJavaConcurrentMapConverter[K, V](m: Map[K, V]): AsJava[ConcurrentMap[K, V]]

    Adds an asJava method that implicitly converts a Scala mutable concurrent.Map to a Java ConcurrentMap.

    Adds an asJava method that implicitly converts a Scala mutable concurrent.Map to a Java ConcurrentMap.

    Definition Classes
    JavaConversions
  40. def mapAsJavaMap[K, V](m: Map[K, V]): Map[K, V]
    Definition Classes
    JavaConversions
  41. implicit def mapAsJavaMapConverter[K, V](m: Map[K, V]): AsJava[Map[K, V]]

    Adds an asJava method that implicitly converts a Scala Map to a Java Map.

    Adds an asJava method that implicitly converts a Scala Map to a Java Map.

    Definition Classes
    JavaConversions
  42. def mapAsScalaConcurrentMap[A, B](m: ConcurrentMap[A, B]): Map[A, B]
    Definition Classes
    JavaConversions
  43. implicit def mapAsScalaConcurrentMapConverter[K, V](m: ConcurrentMap[K, V]): AsScala[Map[K, V]]

    Adds an asScala method that implicitly converts a Java ConcurrentMap to a Scala mutable concurrent.Map.

    Adds an asScala method that implicitly converts a Java ConcurrentMap to a Scala mutable concurrent.Map.

    Definition Classes
    JavaConversions
  44. def mapAsScalaMap[A, B](m: Map[A, B]): Map[A, B]
    Definition Classes
    JavaConversions
  45. implicit def mapAsScalaMapConverter[K, V](m: Map[K, V]): AsScala[Map[K, V]]

    Adds an asScala method that implicitly converts a Java Map to a Scala mutable Map.

    Adds an asScala method that implicitly converts a Java Map to a Scala mutable Map.

    Definition Classes
    JavaConversions
  46. def mutableMapAsJavaMap[K, V](m: Map[K, V]): Map[K, V]
    Definition Classes
    JavaConversions
  47. implicit def mutableMapAsJavaMapConverter[K, V](m: Map[K, V]): AsJava[Map[K, V]]

    Adds an asJava method that implicitly converts a Scala mutable Map to a Java Map.

    Adds an asJava method that implicitly converts a Scala mutable Map to a Java Map.

    Definition Classes
    JavaConversions
  48. def mutableSeqAsJavaList[A](s: Seq[A]): List[A]
    Definition Classes
    JavaConversions
  49. implicit def mutableSeqAsJavaListConverter[A](b: Seq[A]): AsJava[List[A]]

    Adds an asJava method that implicitly converts a Scala mutable Seq to a Java List.

    Adds an asJava method that implicitly converts a Scala mutable Seq to a Java List.

    Definition Classes
    JavaConversions
  50. def mutableSetAsJavaSet[A](s: Set[A]): Set[A]
    Definition Classes
    JavaConversions
  51. implicit def mutableSetAsJavaSetConverter[A](s: Set[A]): AsJava[Set[A]]

    Adds an asJava method that implicitly converts a Scala mutable Set to a Java Set.

    Adds an asJava method that implicitly converts a Scala mutable Set to a Java Set.

    Definition Classes
    JavaConversions
  52. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  53. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  54. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  55. def peek: Option[TxReport]

    Retrieves, but does not remove, the head of this queue, or None if this queue is empty.

    Retrieves, but does not remove, the head of this queue, or None if this queue is empty.

    returns

    the head of this queue, or None if this queue is empty.

  56. def poll: Option[TxReport]

    Retrieves and removes the head of this queue, or returns None if this queue is empty.

    Retrieves and removes the head of this queue, or returns None if this queue is empty.

    returns

    the head of this queue, or None if this queue is empty.

  57. def poll(timeout: Duration): Option[TxReport]

    Retrieves and removes the head of this queue, waiting up to the specified wait time if necessary for an element to become available.

    Retrieves and removes the head of this queue, waiting up to the specified wait time if necessary for an element to become available.

    Throws InterruptedException if interrupted while waiting.

    timeout

    the duration of time to wait before giving up.

    returns

    the head of this queue, or None if the specified waiting time elapses before an element is available.

  58. def propertiesAsScalaMap(p: Properties): Map[String, String]
    Definition Classes
    JavaConversions
  59. implicit def propertiesAsScalaMapConverter(p: Properties): AsScala[Map[String, String]]

    Adds an asScala method that implicitly converts a Java Properties to a Scala mutable Map[String, String].

    Adds an asScala method that implicitly converts a Java Properties to a Scala mutable Map[String, String].

    Definition Classes
    JavaConversions
  60. def seqAsJavaList[A](s: Seq[A]): List[A]
    Definition Classes
    JavaConversions
  61. implicit def seqAsJavaListConverter[A](b: Seq[A]): AsJava[List[A]]

    Adds an asJava method that implicitly converts a Scala Seq to a Java List.

    Adds an asJava method that implicitly converts a Scala Seq to a Java List.

    Definition Classes
    JavaConversions
  62. def setAsJavaSet[A](s: Set[A]): Set[A]
    Definition Classes
    JavaConversions
  63. implicit def setAsJavaSetConverter[A](s: Set[A]): AsJava[Set[A]]

    Adds an asJava method that implicitly converts a Scala Set to a Java Set.

    Adds an asJava method that implicitly converts a Scala Set to a Java Set.

    Definition Classes
    JavaConversions
  64. def size: Int

    Returns the number of transaction reports in the queue.

    Returns the number of transaction reports in the queue.

    returns

    the number of transaction reports in the queue.

  65. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  66. def take: TxReport

    Retrieves and removes the head of this queue, waiting if necessary until an element becomes available.

    Retrieves and removes the head of this queue, waiting if necessary until an element becomes available.

    Throws InterruptedException if interrupted while waiting.

    returns

    the head of this queue.

  67. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  68. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  69. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from JavaConversions

Inherited from AnyRef

Inherited from Any

Ungrouped