+ 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:
Costin Leau
2011-08-23 15:57:07 +03:00
parent 8160cefb87
commit afb398a1a8
6 changed files with 60 additions and 5 deletions

View File

@@ -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() {

View File

@@ -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
*/