Class/Object

com.codacy.stream

ChronicleQueue

Related Docs: object ChronicleQueue | package stream

Permalink

class ChronicleQueue[T] extends ChronicleQueueBase[T, T]

Persists all incoming upstream element to a memory mapped queue before publishing it to downstream consumer.

Emits when one of the inputs has an element available

Does not Backpressure upstream when downstream backpressures, instead buffers the stream element to memory mapped queue

Completes when upstream completes

Cancels when downstream cancels

Linear Supertypes
ChronicleQueueBase[T, T], GraphStage[FlowShape[T, T]], GraphStageWithMaterializedValue[FlowShape[T, T], NotUsed], Graph[FlowShape[T, T], NotUsed], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ChronicleQueue
  2. ChronicleQueueBase
  3. GraphStage
  4. GraphStageWithMaterializedValue
  5. Graph
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ChronicleQueue(persistDir: File, indexName: String)(implicit serializer: QueueSerializer[T], system: ActorSystem)

    Permalink
  2. new ChronicleQueue(persistDir: File)(implicit serializer: QueueSerializer[T], system: ActorSystem)

    Permalink
  3. new ChronicleQueue(config: Config, indexName: String)(implicit serializer: QueueSerializer[T], system: ActorSystem)

    Permalink
  4. new ChronicleQueue(config: Config)(implicit serializer: QueueSerializer[T], system: ActorSystem)

    Permalink
  5. new ChronicleQueue(queue: PersistentQueue[T])(implicit serializer: QueueSerializer[T], system: ActorSystem)

    Permalink
  6. new ChronicleQueue(queue: PersistentQueue[T], onPushCallback: () ⇒ Unit)(implicit serializer: QueueSerializer[T], system: ActorSystem)

    Permalink

Type Members

  1. type Shape = FlowShape[T, T]

    Permalink
    Definition Classes
    Graph

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. def addAttributes(attr: Attributes): Graph[FlowShape[T, T], NotUsed]

    Permalink
    Definition Classes
    Graph
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def async(dispatcher: String, inputBufferSize: Int): Graph[FlowShape[T, T], NotUsed]

    Permalink
    Definition Classes
    Graph
  7. def async(dispatcher: String): Graph[FlowShape[T, T], NotUsed]

    Permalink
    Definition Classes
    Graph
  8. def async: Graph[FlowShape[T, T], NotUsed]

    Permalink
    Definition Classes
    Graph
  9. def autoCommit(index: Long): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    ChronicleQueueChronicleQueueBase
  10. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. def createLogic(inheritedAttributes: Attributes): GraphStageLogic

    Permalink
    Definition Classes
    ChronicleQueueBase → GraphStage
  12. final def createLogicAndMaterializedValue(inheritedAttributes: Attributes): (GraphStageLogic, NotUsed)

    Permalink
    Definition Classes
    GraphStage → GraphStageWithMaterializedValue
  13. val defaultOutputPort: Int

    Permalink
    Definition Classes
    ChronicleQueueBase
  14. def elementOut(e: Event[T]): T

    Permalink
    Attributes
    protected
    Definition Classes
    ChronicleQueueChronicleQueueBase
  15. final def eq(arg0: AnyRef): Boolean

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

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  20. def initialAttributes: Attributes

    Permalink
    Attributes
    protected
    Definition Classes
    GraphStageWithMaterializedValue
  21. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  22. def named(name: String): Graph[FlowShape[T, T], NotUsed]

    Permalink
    Definition Classes
    Graph
  23. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  26. val queueCloserActor: ActorRef

    Permalink
    Attributes
    protected
    Definition Classes
    ChronicleQueueBase
  27. val shape: FlowShape[T, T]

    Permalink
    Definition Classes
    ChronicleQueueBase → Graph
  28. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  29. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  30. var upstreamFailed: Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    ChronicleQueueBase
  31. var upstreamFinished: Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    ChronicleQueueBase
  32. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def withAttributes(attr: Attributes): Graph[FlowShape[T, T], NotUsed]

    Permalink
    Definition Classes
    GraphStageWithMaterializedValue → Graph
  36. def withOnCommitCallback(onCommitCallback: () ⇒ Unit): ChronicleQueue[T]

    Permalink
  37. def withOnPushCallback(onPushCallback: () ⇒ Unit): ChronicleQueue[T]

    Permalink

Inherited from ChronicleQueueBase[T, T]

Inherited from GraphStage[FlowShape[T, T]]

Inherited from GraphStageWithMaterializedValue[FlowShape[T, T], NotUsed]

Inherited from Graph[FlowShape[T, T], NotUsed]

Inherited from AnyRef

Inherited from Any

Ungrouped