[
https://issues.apache.org/jira/browse/GEODE-6031?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kirk Lund resolved GEODE-6031.
------------------------------
Resolution: Fixed
Fix Version/s: 1.9.0
> Add getCache to ServerLauncher and LocatorLauncher APIs
> -------------------------------------------------------
>
> Key: GEODE-6031
> URL: https://issues.apache.org/jira/browse/GEODE-6031
> Project: Geode
> Issue Type: Improvement
> Components: core
> Reporter: Kirk Lund
> Assignee: Kirk Lund
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.9.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> The ServerLauncher and LocatorLauncher APIs are used in two ways: 1) by GFSH
> to fork a new Server or Locator, 2) by User to create a new Server or Locator
> locally in a JVM.
> This improvement adds getCache() to the APIs to enable the User in #2 to get
> a reference without having to resort to invoking singleton getters.
> {noformat}
> /**
> * Gets a reference to the Cache that was created by this ServerLauncher.
> *
> * @return a reference to the Cache
> */
> public org.apache.geode.cache.Cache getCache();
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)