public static final class AddDistributedCache.Builder extends Object
| Modifier and Type | Field and Description |
|---|---|
protected String |
cacheContainer |
protected String |
jndiName |
protected String |
module |
protected String |
name |
protected String |
start |
protected Boolean |
statisticsEnabled |
protected String name
protected String cacheContainer
protected String jndiName
protected String module
protected String start
protected Boolean statisticsEnabled
public Builder(String name)
public AddDistributedCache.Builder asyncMarshalling(Boolean asyncMarshalling)
public AddDistributedCache.Builder mode(CacheMode mode)
public AddDistributedCache.Builder queueFlushInterval(Long queueFlushInterval)
public AddDistributedCache.Builder remoteTimeout(Long remoteTimeout)
public AddDistributedCache.Builder capacityFactor(Double capacityFactor)
capacity-factor is only supported on WildFly 9 and above,
this setting will be ignored on previous versions.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.public AddDistributedCache.Builder l1lifespan(Long l1lifespan)
public AddDistributedCache.Builder owners(Integer owners)
public AddDistributedCache.Builder segments(Integer segments)
public AddDistributedCache build()
public final THIS cacheContainer(String cacheContainer)
public final THIS jndiName(String jndiName)
public final THIS module(String module)
public final THIS start(String start)
public final THIS statisticsEnabled(Boolean statisticsEnabled)
Copyright © 2024. All rights reserved.