You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Karen Smoler Miller (JIRA)" <ji...@apache.org> on 2015/11/25 20:51:10 UTC
[jira] [Commented] (GEODE-259) Remove deprecated
CacheFactory.create(DistributedSystem)
[ https://issues.apache.org/jira/browse/GEODE-259?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15027474#comment-15027474 ]
Karen Smoler Miller commented on GEODE-259:
-------------------------------------------
The manual has been updated to not contain any references to the deprecated CacheFactory.create(DistributedSystem) method.
> Remove deprecated CacheFactory.create(DistributedSystem)
> --------------------------------------------------------
>
> Key: GEODE-259
> URL: https://issues.apache.org/jira/browse/GEODE-259
> Project: Geode
> Issue Type: Sub-task
> Reporter: Darrel Schneider
> Original Estimate: 24h
> Remaining Estimate: 24h
>
> In the old world you had to first create a DistributedSystem and then create the cache by passing it to CacheFactory.create(DistributedSystem). But now the pattern is to create the CacheFactory by passing it Properties that are then used internally to create the DistributedSystem.
> The old way is still used a bunch in our unit tests and it may be hard to change them to no longer manager their own DistributedSystem instance. They could instead use the internal GemFireCacheImpl.create.
> Because of the unit test framework dependency this change is a bit more tricky.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)