Class CommitLogReaders
- java.lang.Object
-
- cz.o2.proxima.direct.core.commitlog.CommitLogReaders
-
@Internal public class CommitLogReaders extends java.lang.Object
Utility class that constructs various versions ofCommitLogReaders
.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CommitLogReaders.LimitedCommitLogReader
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CommitLogReader
withThroughputLimit(CommitLogReader delegate, ThroughputLimiter limiter)
Create throughput limitedCommitLogReader
.
-
-
-
Method Detail
-
withThroughputLimit
public static CommitLogReader withThroughputLimit(CommitLogReader delegate, @Nullable ThroughputLimiter limiter)
Create throughput limitedCommitLogReader
.- Parameters:
delegate
- delegate to read data fromlimiter
- the throughput limiter- Returns:
- throughput limited
CommitLogReader
-
-