[
https://issues.apache.org/jira/browse/GEODE-6031?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated GEODE-6031:
----------------------------------
Labels: pull-request-available (was: )
> 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
>
> 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)