[ 
https://issues.apache.org/jira/browse/GEODE-6031?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16684134#comment-16684134
 ] 

ASF subversion and git services commented on GEODE-6031:
--------------------------------------------------------

Commit 8a2b7bc83d37db1883a5646ebb5055fcf0c95ef7 in geode's branch 
refs/heads/develop from [~apa...@the9muses.net]
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=8a2b7bc ]

GEODE-6031: Add getCache to Launcher APIs

Also add getLocator to LocatorLauncher API.


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

Reply via email to