Class DirectIOSegment.DirectIOSegmentBuilder
- java.lang.Object
-
- org.apache.cassandra.db.commitlog.CommitLogSegment.Builder
-
- org.apache.cassandra.db.commitlog.DirectIOSegment.DirectIOSegmentBuilder
-
- Enclosing class:
- DirectIOSegment
protected static class DirectIOSegment.DirectIOSegmentBuilder extends CommitLogSegment.Builder
-
-
Field Summary
Fields Modifier and Type Field Description int
fsBlockSize
-
Fields inherited from class org.apache.cassandra.db.commitlog.CommitLogSegment.Builder
segmentManager
-
-
Constructor Summary
Constructors Constructor Description DirectIOSegmentBuilder(AbstractCommitLogSegmentManager segmentManager)
DirectIOSegmentBuilder(AbstractCommitLogSegmentManager segmentManager, int fsBlockSize)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DirectIOSegment
build()
SimpleCachedBufferPool
createBufferPool()
-
-
-
Constructor Detail
-
DirectIOSegmentBuilder
public DirectIOSegmentBuilder(AbstractCommitLogSegmentManager segmentManager)
-
DirectIOSegmentBuilder
public DirectIOSegmentBuilder(AbstractCommitLogSegmentManager segmentManager, int fsBlockSize)
-
-
Method Detail
-
build
public DirectIOSegment build()
- Specified by:
build
in classCommitLogSegment.Builder
-
createBufferPool
public SimpleCachedBufferPool createBufferPool()
- Specified by:
createBufferPool
in classCommitLogSegment.Builder
-
-