src/java/org/apache/cassandra/db/commitlog/CommitLog.java
/**
     * Forces a disk flush on the commit log files that need it.
     */
Forces a disk flush on the commit log files that need it.
Forces a disk flush on the commit log files that need it .
public void sync() throws IOException
    {
        for (CommitLogSegment segment : allocator.getActiveSegments())
        {
            segment.sync();
        }
    }
public void sync ( ) throws IOException { for ( CommitLogSegment segment : allocator . getActiveSegments ( ) ) { segment . sync ( ) ; } }
Forces a disk flush on the commit log files that need it.
Forces a disk flush on the commit log files that need it .