spec.addCustomClassAdapter(new TCMapAdapter()); spec.setHonorTransient(true); spec.setCallMethodOnLoad("onLoad"); spec.addCustomClassAdapter(new NotClearableAdapter()); spec.addCustomClassAdapter(new TCMapAdapter()); spec.setCallMethodOnLoad("onLoad"); spec.setCallMethodOnLoad("onLoad");
spec.setCallMethodOnLoad("onLoad"); spec.setCallMethodOnLoad("onLoad");
private void configureServerMap() { TransparencyClassSpec spec; spec = this.configHelper.getOrCreateSpec("org.terracotta.collections.ConcurrentDistributedServerMap"); spec.addCustomClassAdapter(new NotClearableAdapter()); spec.addCustomClassAdapter(new TCMapAdapter()); spec = this.configHelper .getOrCreateSpec("com.terracotta.toolkit.collections.ConcurrentDistributedServerMapDsoArray"); spec.setHonorTransient(true); spec.setCallMethodOnLoad("onLoad"); spec = this.configHelper.getOrCreateSpec(CDSM_DSO_CLASSNAME, CDSM_DSO_APPLICATOR_CLASSNAME); spec.setUseNonDefaultConstructor(true); spec.setCallConstructorOnLoad(true); spec.setIgnoreRewrite(true); spec.setChangeApplicatorSpec(new ChangeApplicatorSpec() { public Class getChangeApplicator(final Class target) { return ConcurrentDistributedServerMapDsoApplicator.class; } }); } }
spec.setCallMethodOnLoad("onLoad"); spec.setCallMethodOnLoad("initializeOnLoad"); spec.setCallMethodOnLoad("initialize"); spec.addCustomClassAdapter(new NotClearableAdapter()); spec.setCallMethodOnLoad("onLoad"); spec.setCallMethodOnLoad("onLoad"); spec.setCallMethodOnLoad("onLoad"); spec.setHonorTransient(true);
spec.setCallMethodOnLoad("onLoad"); spec.setCallMethodOnLoad("initializeOnLoad"); spec.setCallMethodOnLoad("initialize"); spec.addCustomClassAdapter(new NotClearableAdapter()); spec.setCallMethodOnLoad("onLoad"); spec.setCallMethodOnLoad("onLoad"); spec.setCallMethodOnLoad("onLoad"); spec.setPreCreateMethod("onShare"); spec.setHonorTransient(true);
spec = configHelper.getOrCreateSpec("org.terracotta.searchable.serialization.ObjectStreamClassSerializer"); spec.setHonorTransient(true); spec.setCallMethodOnLoad("initialize"); super.addExportedBundleClass(getThisBundle(), "com.tc.object.applicator.SearchableMapApplicator");
spec.setCallMethodOnLoad("onLoad"); spec.setCallMethodOnLoad("initializeOnLoad"); spec.setCallMethodOnLoad("initialize"); spec.addCustomClassAdapter(new NotClearableAdapter()); spec.setCallMethodOnLoad("onLoad"); spec.setCallMethodOnLoad("onLoad"); spec.setCallMethodOnLoad("onLoad"); spec.setPreCreateMethod("onShare"); spec.setHonorTransient(true);
TransparencyClassSpec spec = configHelper.getOrCreateSpec("com.tcclient.cache.CacheDataStore"); spec.setHonorTransient(true); spec.setCallMethodOnLoad("initialize"); spec.addDistributedMethodCall("stopInvalidatorThread", "()V", false); spec = configHelper.getOrCreateSpec("com.tcclient.cache.CacheData");