geode-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (GEODE-231) Remove deprecated AttributesMutator.setCacheListener
Date Mon, 31 Jul 2017 16:02:01 GMT

    [ https://issues.apache.org/jira/browse/GEODE-231?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16107486#comment-16107486
] 

ASF subversion and git services commented on GEODE-231:
-------------------------------------------------------

Commit e24438b946b00414a744af07df323de894c8a46e in geode's branch refs/heads/feature/GEODE-3322
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
>             Fix For: 1.3.0
>
>   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)

Mime
View raw message