public class CacheVersionHelper extends Object
CacheHelper.| Constructor and Description |
|---|
CacheVersionHelper() |
| Modifier and Type | Method and Description |
|---|---|
protected static com.gemstone.gemfire.cache.Cache |
configureAndCreateCache(String cacheConfig,
CacheDescription cd,
com.gemstone.gemfire.distributed.DistributedSystem ds)
Version-dependent support for configuring a cache factory from the
the given cache configuration and distributed system.
|
protected static void |
generateDummyAsyncEventQueue(com.gemstone.gemfire.cache.Cache dummyCache,
String asyncEventQueueConfig,
String fn,
Map XmlAsyncEventQueueConfigs)
Version-dependent support for generating a dummy async event queue from
the given cache and async event queue configuration.
|
protected static void |
generateDummyDiskStore(com.gemstone.gemfire.cache.Cache dummyCache,
String diskStoreConfig,
String fn,
Map XmlDiskStoreConfigs)
Version-dependent support for generating a dummy disk store from
the given cache and disk store configuration.
|
protected static void |
generateDummyGatewayReceiver(com.gemstone.gemfire.cache.Cache dummyCache,
String gatewayReceiverConfig,
String fn,
Map XmlGatewayReceiverConfigs)
Version-dependent support for generating a dummy gateway receiver from
the given cache and gateway receiver configuration.
|
protected static void |
generateDummyGatewaySender(com.gemstone.gemfire.cache.Cache dummyCache,
String gatewaySenderConfig,
String fn,
Map XmlGatewaySenderConfigs)
Version-dependent support for generating a dummy gateway sender from
the given cache and gateway sender configuration.
|
protected static void |
generateDummyResourceManager(CacheDescription cd,
com.gemstone.gemfire.internal.cache.xmlcache.CacheCreation dummyCache)
Version-dependent support for generating a dummy resource manager.
|
protected static com.gemstone.gemfire.cache.Cache |
getCache()
Version-dependent support for
CacheHelper.getCache(). |
protected static com.gemstone.gemfire.cache.RegionAttributes |
getDummyRegionAttributes(com.gemstone.gemfire.cache.Cache dummyCache,
com.gemstone.gemfire.cache.RegionAttributes ratts)
Version-dependent support for generating dummy region attributes
from the the given cache and attributes factory.
|
protected static com.gemstone.gemfire.cache.Cache configureAndCreateCache(String cacheConfig, CacheDescription cd, com.gemstone.gemfire.distributed.DistributedSystem ds)
protected static void generateDummyDiskStore(com.gemstone.gemfire.cache.Cache dummyCache,
String diskStoreConfig,
String fn,
Map XmlDiskStoreConfigs)
protected static void generateDummyGatewaySender(com.gemstone.gemfire.cache.Cache dummyCache,
String gatewaySenderConfig,
String fn,
Map XmlGatewaySenderConfigs)
protected static void generateDummyGatewayReceiver(com.gemstone.gemfire.cache.Cache dummyCache,
String gatewayReceiverConfig,
String fn,
Map XmlGatewayReceiverConfigs)
protected static void generateDummyAsyncEventQueue(com.gemstone.gemfire.cache.Cache dummyCache,
String asyncEventQueueConfig,
String fn,
Map XmlAsyncEventQueueConfigs)
protected static com.gemstone.gemfire.cache.Cache getCache()
CacheHelper.getCache().
Returns the cache if it exists and is open, or null if no cache exists.protected static void generateDummyResourceManager(CacheDescription cd, com.gemstone.gemfire.internal.cache.xmlcache.CacheCreation dummyCache)
protected static com.gemstone.gemfire.cache.RegionAttributes getDummyRegionAttributes(com.gemstone.gemfire.cache.Cache dummyCache,
com.gemstone.gemfire.cache.RegionAttributes ratts)
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.