All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.infinispan.jcache.embedded.JStoreAdapterConfigurationBuilder Maven / Gradle / Ivy

There is a newer version: 9.1.7.Final
Show newest version
package org.infinispan.jcache.embedded;

import org.infinispan.commons.configuration.Builder;
import org.infinispan.commons.util.TypedProperties;
import org.infinispan.configuration.cache.AbstractStoreConfigurationBuilder;
import org.infinispan.configuration.cache.PersistenceConfigurationBuilder;

public class JStoreAdapterConfigurationBuilder extends AbstractStoreConfigurationBuilder {

   public JStoreAdapterConfigurationBuilder(PersistenceConfigurationBuilder builder) {
      super(builder);
   }

   @Override
   public void validate() {
   }

   @Override
   public JStoreAdapterConfiguration create() {
      return new JStoreAdapterConfiguration(purgeOnStartup, fetchPersistentState, ignoreModifications, async.create(),
                                            singletonStore.create(), preload, shared, TypedProperties.toTypedProperties(properties));
   }

   @Override
   public JStoreAdapterConfigurationBuilder self() {
      return this;
   }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy