src/java/org/apache/cassandra/db/commitlog/CommitLogAllocator.java
/**
     * Indicates that a segment file should be deleted.
     *
     * @param segment segment to be discarded
     */
Indicates that a segment file should be deleted.
@param segment segment to be discarded
Indicates that a segment file should be deleted . @param segment segment to be discarded
private void discardSegment(final CommitLogSegment segment)
    {
        size.addAndGet(-CommitLog.SEGMENT_SIZE);
        queue.add(new Runnable()
        {
            public void run()
            {
                segment.discard();
            }
        });
    }
private void discardSegment ( final CommitLogSegment segment ) { size . addAndGet ( - CommitLog . SEGMENT_SIZE ) ; queue . add ( new Runnable ( ) { public void run ( ) { segment . discard ( ) ; } } ) ; }
Indicates that a segment file should be deleted.
Indicates that a segment file should be deleted .