[
https://issues.apache.org/jira/browse/GEODE-1642?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Anthony Baker closed GEODE-1642.
--------------------------------
> Add conveniance method isCancelInProgress to CancelCriterion
> ------------------------------------------------------------
>
> Key: GEODE-1642
> URL: https://issues.apache.org/jira/browse/GEODE-1642
> Project: Geode
> Issue Type: Bug
> Components: general
> Reporter: Bruce Schuchardt
> Assignee: Bruce Schuchardt
> Fix For: 1.0.0-incubating.M3
>
>
> Geode's code has a lot of cancellation checks that look like this:
> if (cache.getCancelCriterion().cancelInProgress() != null)
> It seems very odd to have to perform a null check to see if the cache is
> shutting down. CancelCriterion should have a isCancelInProgress() method
> that can be used instead of the null check.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)