public class RocksDBStoreConfigurationBuilder extends AbstractStoreConfigurationBuilder<RocksDBStoreConfiguration,RocksDBStoreConfigurationBuilder>
Modifier and Type | Field and Description |
---|---|
protected ConfigurationBuilder |
builder |
async, attributes, fetchPersistentState, ignoreModifications, preload, properties, purgeOnStartup, shared, singletonStore
Constructor and Description |
---|
RocksDBStoreConfigurationBuilder(PersistenceConfigurationBuilder builder) |
addProperty, async, fetchPersistentState, ignoreModifications, maxBatchSize, preload, properties, purgeOnStartup, shared, singleton, toString, transactional, validate, validate, withProperties
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
build, clustering, compatibility, customInterceptors, dataContainer, deadlockDetection, encoding, eviction, expiration, indexing, invocationBatching, jmxStatistics, locking, memory, persistence, security, simpleCache, simpleCache, sites, storeAsBinary, template, transaction, unsafe, versioning
persistence
protected final ConfigurationBuilder builder
public RocksDBStoreConfigurationBuilder(PersistenceConfigurationBuilder builder)
public RocksDBStoreConfigurationBuilder location(String location)
public RocksDBStoreConfigurationBuilder expiredLocation(String expiredLocation)
public RocksDBStoreConfigurationBuilder blockSize(int blockSize)
public RocksDBStoreConfigurationBuilder cacheSize(long cacheSize)
public RocksDBStoreConfigurationBuilder expiryQueueSize(int expiryQueueSize)
public RocksDBStoreConfigurationBuilder clearThreshold(int clearThreshold)
public RocksDBStoreConfigurationBuilder compressionType(CompressionType compressionType)
public void validate()
Builder
validate
in interface Builder<RocksDBStoreConfiguration>
validate
in class AbstractStoreConfigurationBuilder<RocksDBStoreConfiguration,RocksDBStoreConfigurationBuilder>
public RocksDBStoreConfiguration create()
Builder
public Builder<?> read(RocksDBStoreConfiguration template)
Builder
read
in interface Builder<RocksDBStoreConfiguration>
read
in class AbstractStoreConfigurationBuilder<RocksDBStoreConfiguration,RocksDBStoreConfigurationBuilder>
template
- the configuration from which to "clone" this config if needed.public RocksDBStoreConfigurationBuilder self()
public ConfigurationChildBuilder template(boolean template)
template
in interface ConfigurationChildBuilder
public ConfigurationChildBuilder simpleCache(boolean simpleCache)
simpleCache
in interface ConfigurationChildBuilder
public boolean simpleCache()
simpleCache
in interface ConfigurationChildBuilder
public ClusteringConfigurationBuilder clustering()
clustering
in interface ConfigurationChildBuilder
public CustomInterceptorsConfigurationBuilder customInterceptors()
customInterceptors
in interface ConfigurationChildBuilder
public DataContainerConfigurationBuilder dataContainer()
dataContainer
in interface ConfigurationChildBuilder
public DeadlockDetectionConfigurationBuilder deadlockDetection()
deadlockDetection
in interface ConfigurationChildBuilder
public EncodingConfigurationBuilder encoding()
encoding
in interface ConfigurationChildBuilder
public EvictionConfigurationBuilder eviction()
eviction
in interface ConfigurationChildBuilder
public ExpirationConfigurationBuilder expiration()
expiration
in interface ConfigurationChildBuilder
public IndexingConfigurationBuilder indexing()
indexing
in interface ConfigurationChildBuilder
public InvocationBatchingConfigurationBuilder invocationBatching()
invocationBatching
in interface ConfigurationChildBuilder
public JMXStatisticsConfigurationBuilder jmxStatistics()
jmxStatistics
in interface ConfigurationChildBuilder
public PersistenceConfigurationBuilder persistence()
persistence
in interface ConfigurationChildBuilder
public LockingConfigurationBuilder locking()
locking
in interface ConfigurationChildBuilder
public SecurityConfigurationBuilder security()
security
in interface ConfigurationChildBuilder
@Deprecated public StoreAsBinaryConfigurationBuilder storeAsBinary()
storeAsBinary
in interface ConfigurationChildBuilder
public TransactionConfigurationBuilder transaction()
transaction
in interface ConfigurationChildBuilder
public VersioningConfigurationBuilder versioning()
versioning
in interface ConfigurationChildBuilder
public UnsafeConfigurationBuilder unsafe()
unsafe
in interface ConfigurationChildBuilder
public SitesConfigurationBuilder sites()
sites
in interface ConfigurationChildBuilder
public CompatibilityModeConfigurationBuilder compatibility()
compatibility
in interface ConfigurationChildBuilder
public MemoryConfigurationBuilder memory()
memory
in interface ConfigurationChildBuilder
protected ConfigurationBuilder getBuilder()
public Configuration build()
build
in interface ConfigurationChildBuilder
Copyright © 2020 JBoss, a division of Red Hat. All rights reserved.