Kirk Lund created GEODE-6031:
--------------------------------

             Summary: 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


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