@Override public Builder<?> read(LuceneLoaderConfiguration template) { this.autoChunkSize = template.autoChunkSize(); this.location = template.location(); // AbstractStore-specific configuration this.fetchPersistentState = template.fetchPersistentState(); this.ignoreModifications = template.ignoreModifications(); this.properties = template.properties(); this.purgeOnStartup = template.purgeOnStartup(); this.async.read(template.async()); this.singletonStore.read(template.singletonStore()); this.preload = template.preload(); return this; }
@Override public JdbmCacheStoreConfigurationBuilder read(JdbmCacheStoreConfiguration template) { this.comparatorClassName = template.comparatorClassName(); this.expiryQueueSize = template.expiryQueueSize(); this.location = template.location(); // AbstractStore-specific configuration fetchPersistentState = template.fetchPersistentState(); ignoreModifications = template.ignoreModifications(); properties = template.properties(); purgeOnStartup = template.purgeOnStartup(); purgeSynchronously = template.purgeSynchronously(); async.read(template.async()); singletonStore.read(template.singletonStore()); return this; } }
@Override public Custom52xCacheStoreConfigurationBuilder read(Custom52xCacheStoreConfiguration template) { // Custom52xCacheStore-specific configuration fsyncInterval = template.fsyncInterval(); fsyncMode = template.fsyncMode(); location = template.location(); streamBufferSize = template.streamBufferSize(); // AbstractLockSupportCacheStore-specific configuration lockAcquistionTimeout = template.lockAcquistionTimeout(); lockConcurrencyLevel = template.lockConcurrencyLevel(); // AbstractStore-specific configuration fetchPersistentState = template.fetchPersistentState(); ignoreModifications = template.ignoreModifications(); properties = template.properties(); purgeOnStartup = template.purgeOnStartup(); purgeSynchronously = template.purgeSynchronously(); async.read(template.async()); singletonStore.read(template.singletonStore()); return this; }
@Override public BdbjeCacheStoreConfigurationBuilder read(BdbjeCacheStoreConfiguration template) { this.location = template.location(); this.lockAcquistionTimeout = template.lockAcquisitionTimeout(); this.maxTxRetries = template.maxTxRetries(); this.cacheDbNamePrefix = template.cacheDbNamePrefix(); this.catalogDbName = template.catalogDbName(); this.expiryDbPrefix = template.expiryDbPrefix(); this.environmentPropertiesFile = template.environmentPropertiesFile(); // AbstractStore-specific configuration fetchPersistentState = template.fetchPersistentState(); ignoreModifications = template.ignoreModifications(); properties = template.properties(); purgeOnStartup = template.purgeOnStartup(); purgeSynchronously = template.purgeSynchronously(); async.read(template.async()); singletonStore.read(template.singletonStore()); return this; }