geode-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <>
Subject [jira] [Commented] (GEODE-231) Remove deprecated AttributesMutator.setCacheListener
Date Thu, 27 Jul 2017 23:51:00 GMT


ASF subversion and git services commented on GEODE-231:

Commit e24438b946b00414a744af07df323de894c8a46e in geode's branch refs/heads/develop from
[;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:
>             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

View raw message