src/java/org/apache/cassandra/db/commitlog/CommitLog.java
/**
     * Add a RowMutation to the commit log.
     *
     * @param rm the RowMutation to add to the log
     */
Add a RowMutation to the commit log.
@param rm the RowMutation to add to the log
Add a RowMutation to the commit log . @param rm the RowMutation to add to the log
public void add(RowMutation rm) throws IOException
    {
        long totalSize = RowMutation.serializer().serializedSize(rm, MessagingService.version_) + CommitLogSegment.ENTRY_OVERHEAD_SIZE;
        if (totalSize > CommitLog.SEGMENT_SIZE)
        {
            logger.warn("Skipping commitlog append of extremely large mutation ({} bytes)", totalSize);
            return;
        }
        executor.add(new LogRecordAdder(rm));
    }
public void add ( RowMutation rm ) throws IOException { long totalSize = RowMutation . serializer ( ) . serializedSize ( rm , MessagingService . version_ ) + CommitLogSegment . ENTRY_OVERHEAD_SIZE ; if ( totalSize > CommitLog . SEGMENT_SIZE ) { logger . warn ( "Skipping commitlog append of extremely large mutation ({} bytes)" , totalSize ) ; return ; } executor . add ( new LogRecordAdder ( rm ) ) ; }
Add a RowMutation to the commit log.
Add a RowMutation to the commit log .