package stream
- Alphabetic
- Public
- All
Type Members
- class BooleanSerializer extends AbstractMarshallable with QueueSerializer[Boolean]
- class ByteSerializer extends AbstractMarshallable with QueueSerializer[Byte]
- class ByteStringSerializer extends AbstractMarshallable with QueueSerializer[ByteString]
- class CharSerializer extends AbstractMarshallable with QueueSerializer[Char]
-
class
ChronicleQueue[T] extends ChronicleQueueBase[T, T]
Persists all incoming upstream element to a memory mapped queue before publishing it to downstream consumer.
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
-
class
ChronicleQueueAtLeastOnce[T] extends ChronicleQueueBase[T, Event[T]]
Persists all incoming upstream element to a memory mapped queue before publishing it to downstream consumer.
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
A commit guarantee can be ensured to avoid data lost while consuming stream elements by adding a commit stage after downstream consumer.
- abstract class ChronicleQueueBase[T, S] extends GraphStage[FlowShape[T, S]]
- class ChronicleQueueSink[T] extends GraphStage[SinkShape[T]]
- class ChronicleQueueSource[T] extends GraphStage[SourceShape[T]]
- class CommitOrderException extends RuntimeException
- sealed trait CommitOrderPolicy extends AnyRef
- case class Committed(outportId: Int, index: Long) extends Product with Serializable
- class DoubleSerializer extends AbstractMarshallable with QueueSerializer[Double]
- case class Event[T](outputPortId: Int, index: Long, entry: T) extends Product with Serializable
- class FloatSerializer extends AbstractMarshallable with QueueSerializer[Float]
- class IndexFile extends MappedFile
- class IntSerializer extends AbstractMarshallable with QueueSerializer[Int]
- class LongSerializer extends AbstractMarshallable with QueueSerializer[Long]
- class ObjectSerializer[T] extends AbstractMarshallable with QueueSerializer[T]
-
class
PersistentQueue[T] extends AnyRef
Persistent queue using Chronicle Queue as implementation.
Persistent queue using Chronicle Queue as implementation.
- T
The type of elements to be stored in the queue.
- class PersistentQueueCloserActor[T] extends Actor with ActorLogging
- case class PushedAndCommitted(outportId: Int, pushIndex: Long, commitIndex: Long) extends Product with Serializable
- case class QueueConfig(persistDir: File, rollCycle: RollCycle = QueueConfig.defaultCycle, wireType: WireType = QueueConfig.defaultWireType, blockSize: Long = QueueConfig.defaultBlockSize, indexSpacing: Int = ..., indexCount: Int = ..., isBuffered: Boolean = false, epoch: Long = 0L, outputPorts: Int = QueueConfig.defaultOutputPort, commitOrderPolicy: CommitOrderPolicy = ...) extends Product with Serializable
- trait QueueSerializer[T] extends AbstractMarshallable
- class ShortSerializer extends AbstractMarshallable with QueueSerializer[Short]
Value Members
- object ChronicleQueue
- object ChronicleQueueAtLeastOnce
- object IndexFile
- object Lenient extends CommitOrderPolicy
- object QueueConfig extends Serializable
- object QueueSerializer
- object Strict extends CommitOrderPolicy
- object UpstreamFailed extends Product with Serializable
- object UpstreamFinished extends Product with Serializable