Class CommitLogSegment.Builder
- java.lang.Object
-
- org.apache.cassandra.db.commitlog.CommitLogSegment.Builder
-
- Direct Known Subclasses:
CompressedSegment.CompressedSegmentBuilder
,DirectIOSegment.DirectIOSegmentBuilder
,EncryptedSegment.EncryptedSegmentBuilder
,MemoryMappedSegment.MemoryMappedSegmentBuilder
- Enclosing class:
- CommitLogSegment
protected abstract static class CommitLogSegment.Builder extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected AbstractCommitLogSegmentManager
segmentManager
-
Constructor Summary
Constructors Constructor Description Builder(AbstractCommitLogSegmentManager segmentManager)
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract CommitLogSegment
build()
abstract SimpleCachedBufferPool
createBufferPool()
-
-
-
Field Detail
-
segmentManager
protected final AbstractCommitLogSegmentManager segmentManager
-
-
Constructor Detail
-
Builder
public Builder(AbstractCommitLogSegmentManager segmentManager)
-
-
Method Detail
-
build
public abstract CommitLogSegment build()
-
createBufferPool
public abstract SimpleCachedBufferPool createBufferPool()
-
-