You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2017/07/27 23:51:00 UTC
[jira] [Commented] (GEODE-231) Remove deprecated
AttributesMutator.setCacheListener
[ https://issues.apache.org/jira/browse/GEODE-231?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16104105#comment-16104105 ]
ASF subversion and git services commented on GEODE-231:
-------------------------------------------------------
Commit e24438b946b00414a744af07df323de894c8a46e in geode's branch refs/heads/develop from Shankar
[ https://git-wip-us.apache.org/repos/asf?p=geode.git;h=e24438b ]
GEODE-231: Remove deprecated AttributesMutator.setCacheListener
Removed setCacheListener method from AttributesMutator and AbstractRegion.
Changed tests to use either initCacheListeners or addCacheListener methods from AttributesMutator.
This closes #507
> Remove deprecated AttributesMutator.setCacheListener
> ----------------------------------------------------
>
> Key: GEODE-231
> URL: https://issues.apache.org/jira/browse/GEODE-231
> Project: Geode
> Issue Type: Sub-task
> Reporter: Darrel Schneider
> Assignee: Shankar Hundekar
> Original Estimate: 4h
> Remaining Estimate: 4h
>
> It looks like AttributesMutator.setCacheListener is currently only called from test code. All of these calls can be replaced with AttributesMutator.initCacheListeners with an array of one listener.
> It is probably not safe to use AttributesMutator.addCacheListener since it leaves an original listeners in place.
> The method is called in about 25 different tests.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)