You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Owen Nichols (JIRA)" <ji...@apache.org> on 2019/04/24 22:23:21 UTC

[jira] [Closed] (GEODE-6031) Add getCache to ServerLauncher and LocatorLauncher APIs

     [ https://issues.apache.org/jira/browse/GEODE-6031?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Owen Nichols closed GEODE-6031.
-------------------------------

> 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)