src/java/org/apache/cassandra/db/commitlog/CommitLogSegment.java
/**
     * Completely discards a segment file by deleting it. (Potentially blocking operation)
     */
Completely discards a segment file by deleting it. (Potentially blocking operation)
Completely discards a segment file by deleting it . ( Potentially blocking operation )
public void discard()
    {
        close();
        try
        {
            FileUtils.deleteWithConfirm(logFile);
        }
        catch (IOException e)
        {
            throw new IOError(e);
        }
    }
public void discard ( ) { close ( ) ; try { FileUtils . deleteWithConfirm ( logFile ) ; } catch ( IOException e ) { throw new IOError ( e ) ; } }
Completely discards a segment file by deleting it.
Completely discards a segment file by deleting it .