org.infinispan.jcache.embedded.JStoreAdapterConfigurationBuilder Maven / Gradle / Ivy
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