src/java/org/apache/cassandra/db/commitlog/CommitLogAllocator.java
/**
     * Creates and readies a brand new segment.
     *
     * @return the newly minted segment
     */
Creates and readies a brand new segment.
@return the newly minted segment
Creates and readies a brand new segment . @return the newly minted segment
private CommitLogSegment createFreshSegment()
    {
        size.addAndGet(CommitLog.SEGMENT_SIZE);
        return internalAddReadySegment(CommitLogSegment.freshSegment());
    }
private CommitLogSegment createFreshSegment ( ) { size . addAndGet ( CommitLog . SEGMENT_SIZE ) ; return internalAddReadySegment ( CommitLogSegment . freshSegment ( ) ) ; }
Creates and readies a brand new segment.
Creates and readies a brand new segment .