InMemoryQueueWriteLayer

class InMemoryQueueWriteLayer<T> : QueueWriteLayer<T>

Constructors

Link copied to clipboard
fun InMemoryQueueWriteLayer()

Functions

Link copied to clipboard
open suspend fun clear()
Link copied to clipboard
open suspend override fun peek(n: Int): List<T>
Link copied to clipboard
open suspend override fun pop(n: Int)
Link copied to clipboard
open suspend override fun push(t: List<T>)
Link copied to clipboard
open suspend override fun size(): Int

Properties

Link copied to clipboard
open override val concurrentPushPop: Boolean = false

Specify whether this write layer is capable of handling pushing and popping concurrently. The queue handler will parallelize the incoming push/pop requests if this can support it. Otherwise, they will be serialized.