Package org.nuxeo.lib.stream.log.mem
Class MemLogPartition
java.lang.Object
org.nuxeo.lib.stream.log.mem.MemLogPartition
Memory implementation of Log partition.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final record
class
A tailer for a partition maintains an offset (current reading position).static class
Tracks the committed offset for a group. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionlong
void
closeTailer
(Name group) long
createTailer
(Name group) getCommittedOffsetTracker
(Name group) long
size()
-
Constructor Details
-
MemLogPartition
public MemLogPartition()
-
-
Method Details
-
append
-
size
public long size() -
getCommittedOffsetTracker
-
createTailer
-
closeTailer
-
getGroups
-
committed
-