src/java/org/apache/cassandra/db/commitlog/CommitLogSegment.java
/**
     * Forces a disk flush for this segment file.
     */
Forces a disk flush for this segment file.
Forces a disk flush for this segment file .
public void sync() throws IOException
    {
        if (needsSync)
        {
            buffer.force();
            needsSync = false;
        }
    }
public void sync ( ) throws IOException { if ( needsSync ) { buffer . force ( ) ; needsSync = false ; } }
Forces a disk flush for this segment file.
Forces a disk flush for this segment file .