org.wildfly.extras.creaper.commands.infinispan.cache
Class AddDistributedCache.Builder
java.lang.Object
org.wildfly.extras.creaper.commands.infinispan.cache.AddDistributedCache.Builder
- Enclosing class:
- AddDistributedCache
public static final class AddDistributedCache.Builder
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
name
protected String name
cacheContainer
protected String cacheContainer
jndiName
protected String jndiName
module
protected String module
start
protected String start
statisticsEnabled
protected Boolean statisticsEnabled
AddDistributedCache.Builder
public AddDistributedCache.Builder(String name)
asyncMarshalling
public AddDistributedCache.Builder asyncMarshalling(Boolean asyncMarshalling)
mode
public AddDistributedCache.Builder mode(CacheMode mode)
queueFlushInterval
public AddDistributedCache.Builder queueFlushInterval(Long queueFlushInterval)
remoteTimeout
public AddDistributedCache.Builder remoteTimeout(Long remoteTimeout)
capacityFactor
public AddDistributedCache.Builder capacityFactor(Double capacityFactor)
capacity-factor is only supported on WildFly 9 and above,
this setting will be ignored on previous versions.
consistentHashStrategy
public AddDistributedCache.Builder consistentHashStrategy(ConsistentHashStrategy consistentHashStrategy)
consistent-hash-strategy is only supported on WildFly 9 and above,
this setting will be ignored on previous versions.
l1lifespan
public AddDistributedCache.Builder l1lifespan(Long l1lifespan)
owners
public AddDistributedCache.Builder owners(Integer owners)
segments
public AddDistributedCache.Builder segments(Integer segments)
build
public AddDistributedCache build()
cacheContainer
public final THIS cacheContainer(String cacheContainer)
jndiName
public final THIS jndiName(String jndiName)
module
public final THIS module(String module)
start
public final THIS start(String start)
statisticsEnabled
public final THIS statisticsEnabled(Boolean statisticsEnabled)
Copyright © 2020. All rights reserved.