protected static void initDynamicRegionFactory() { DynamicRegionFactory.get().open(new DynamicRegionFactory.Config(null, null, false, true)); }
cfg = ((CacheCreation) c).getDynamicRegionFactoryConfig(); } else { DynamicRegionFactory drf = DynamicRegionFactory.get(); if (drf == null || drf.isClosed()) { return;
/** * Call to make this vm's dynamic region factory ready. Public so it can be called from * CacheCreation during xml processing */ @Override public void readyDynamicRegionFactory() { try { ((DynamicRegionFactoryImpl) DynamicRegionFactory.get()).internalInit(this); } catch (CacheException ce) { throw new GemFireCacheException( "dynamic region initialization failed", ce); } }
private static void initClientDynamicRegionFactory(final String poolName) { DynamicRegionFactory.get().open(new DynamicRegionFactory.Config(null, poolName, false, true)); }
if (DynamicRegionFactory.get().isOpen()) {
this.transactionManager.close(); ((DynamicRegionFactoryImpl) DynamicRegionFactory.get()).close(); if (this.transactionManager != null) { this.transactionManager.unpauseTransaction(tx);
DynamicRegionFactory.get().open(getDynamicRegionFactoryConfig());
DynamicRegionFactory drf = DynamicRegionFactory.get(); Region subregion = drf.createDynamicRegion(regionName, SUBREGION_NAME); assertEquals('/' + regionName + '/' + SUBREGION_NAME, subregion.getFullPath()); if ((flags & OpFlags.USE_SUBREGION) > 0) { try { DynamicRegionFactory.get().destroyDynamicRegion(region.getFullPath()); } catch (RegionDestroyedException ex) {
DynamicRegionFactory.get().open(this.getDynamicRegionFactoryConfig());
public void initializeDynamicRegionFactory() { File localDiskDirectory = this.diskDirectory != null ? new File(this.diskDirectory) : null; DynamicRegionFactory.Config config = new DynamicRegionFactory.Config(localDiskDirectory, this.poolName, this.persistent, this.registerInterest); DynamicRegionFactory.get().open(config); } }
public void initializeDynamicRegionFactory() { File localDiskDirectory = this.diskDirectory != null ? new File(this.diskDirectory) : null; DynamicRegionFactory.Config config = new DynamicRegionFactory.Config(localDiskDirectory, this.poolName, this.persistent, this.registerInterest); DynamicRegionFactory.get().open(config); } }