createAtomicCounterBuffer
expect abstract fun createAtomicCounterBuffer(counterCount: Int, session: Session? = Session.active): AtomicCounterBuffer(source)
Creates an atomic counter buffer with the specified number of counters.
Return
A new instance of AtomicCounterBuffer
configured with the specified number of counters.
Parameters
counterCount
The number of atomic counters to include in the buffer.
session
The session associated with this atomic counter buffer. Defaults to the currently active session if not provided.
actual abstract fun createAtomicCounterBuffer(counterCount: Int, session: Session?): AtomicCounterBuffer(source)
actual abstract fun createAtomicCounterBuffer(counterCount: Int, session: Session?): AtomicCounterBuffer(source)