InMemoryBolt
constructor(format: BoltArchiveFormat<Id, V, Op>, clock: Clock, segmentFrameBytes: Long = DEFAULT_SEGMENT_FRAME_BYTES, capacityBytes: Long = Long.MAX_VALUE)
Parameters
format
how ops are classified and encoded — see BoltArchiveFormat.
clock
stamps each frame's arrival time. Required: time is a dependency here, and a bolt that reached for Clock.System itself could not be tested deterministically.
segmentFrameBytes
the frame-byte budget after which a new segment is started. A single frame larger than this still gets archived — it lands alone in its own segment rather than being refused.
capacityBytes
the total byte budget for the whole archive, headers included.