cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mikhail Mazursky (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-5557) Correctly handle interruptions of Thread.sleep()
Date Sat, 11 May 2013 09:27:15 GMT

     [ https://issues.apache.org/jira/browse/CASSANDRA-5557?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Mikhail Mazursky updated CASSANDRA-5557:
----------------------------------------

    Attachment:     (was: trunk-557.txt)
    
> Correctly handle interruptions of Thread.sleep()
> ------------------------------------------------
>
>                 Key: CASSANDRA-5557
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-5557
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Mikhail Mazursky
>            Priority: Minor
>         Attachments: trunk-5557.txt
>
>
> There is no need to throw assertion errors or runtime exceptions when Thread.sleep()
is interrupted - code can just ignore interruption (and that is correct behaviour). Also this
eliminates boilerplate code. See attached patch.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message