geode-dev 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-2836) CacheLoader should extend Declarable
Date Tue, 16 May 2017 23:40:04 GMT


ASF subversion and git services commented on GEODE-2836:

Commit a263adee86627f4ba5cf16e2e34e5623ba98c9f4 in geode's branch refs/heads/develop from
[;h=a263ade ]

GEODE-2836: Fix compilation error introduced by rebase

> CacheLoader should extend Declarable
> ------------------------------------
>                 Key: GEODE-2836
>                 URL:
>             Project: Geode
>          Issue Type: Improvement
>          Components: configuration
>            Reporter: Anthony Baker
>            Assignee: Jared Stewart
>             Fix For: 1.2.0
> In order to implement a {{CacheLoader}} that is usable from {{cache.xml}} the developer
should also implement {{Declarable}}.  It would be nice to make {{CacheLoader}} extend from
{{Declarable}} with a default implementation for {{init}} to simplify this requirement.
> Note that this could be applied to all user callbacks like {{CacheListener}} and friends.
> If a developer does not implement {{Declarable}} and uses {{gfsh}} to add the callback
to the region, it's possible to get a startup failure since the cluster config service uses
{{cache.xml}} to persist config changes.  This is BAD.

This message was sent by Atlassian JIRA

View raw message