SGF-37
+ cache server starts last (on container refresh) to allow regions and interests to be properly registered and started + add documentation on cacheserver start-up
This commit is contained in:
@@ -34,7 +34,7 @@ import com.gemstone.gemfire.cache.server.ClientSubscriptionConfig;
|
||||
import com.gemstone.gemfire.cache.server.ServerLoadProbe;
|
||||
|
||||
/**
|
||||
* FactoryBean for easy creation and configuration of GemFire {@link CacheServerProcess} instances.
|
||||
* FactoryBean for easy creation and configuration of GemFire {@link CacheServer} instances.
|
||||
*
|
||||
* @author Costin Leau
|
||||
*/
|
||||
@@ -106,8 +106,6 @@ public class CacheServerFactoryBean implements FactoryBean<CacheServer>, Initial
|
||||
config.setEvictionPolicy(evictionPolicy.name().toLowerCase());
|
||||
if (subscriptionDiskStore != null)
|
||||
config.setDiskStoreName(subscriptionDiskStore.getFile().getCanonicalPath());
|
||||
|
||||
start();
|
||||
}
|
||||
|
||||
public void destroy() {
|
||||
|
||||
@@ -19,7 +19,7 @@ package org.springframework.data.gemfire.server;
|
||||
import com.gemstone.gemfire.cache.server.CacheServer;
|
||||
|
||||
/**
|
||||
* Enumeration of the various client subscription policies for {@link CacheServerProcess}.
|
||||
* Enumeration of the various client subscription policies for {@link CacheServer}.
|
||||
*
|
||||
* @author Costin Leau
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user