org.wildfly.extras.creaper.commands.infinispan.cache
Class AddDistributedCache.Builder

java.lang.Object
  extended by org.wildfly.extras.creaper.commands.infinispan.cache.AddDistributedCache.Builder
Enclosing class:
AddDistributedCache

public static final class AddDistributedCache.Builder
extends Object


Field Summary
protected  String cacheContainer
           
protected  String jndiName
           
protected  String module
           
protected  String name
           
protected  String start
           
protected  Boolean statisticsEnabled
           
 
Constructor Summary
AddDistributedCache.Builder(String name)
           
 
Method Summary
 AddDistributedCache.Builder asyncMarshalling(Boolean asyncMarshalling)
           
 AddDistributedCache build()
           
 THIS cacheContainer(String cacheContainer)
           
 AddDistributedCache.Builder capacityFactor(Double capacityFactor)
          capacity-factor is only supported on WildFly 9 and above, this setting will be ignored on previous versions.
 AddDistributedCache.Builder consistentHashStrategy(ConsistentHashStrategy consistentHashStrategy)
          consistent-hash-strategy is only supported on WildFly 9 and above, this setting will be ignored on previous versions.
 THIS jndiName(String jndiName)
           
 AddDistributedCache.Builder l1lifespan(Long l1lifespan)
           
 AddDistributedCache.Builder mode(CacheMode mode)
           
 THIS module(String module)
           
 AddDistributedCache.Builder owners(Integer owners)
           
 AddDistributedCache.Builder queueFlushInterval(Long queueFlushInterval)
           
 AddDistributedCache.Builder remoteTimeout(Long remoteTimeout)
           
 AddDistributedCache.Builder segments(Integer segments)
           
 THIS start(String start)
           
 THIS statisticsEnabled(Boolean statisticsEnabled)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

protected String name

cacheContainer

protected String cacheContainer

jndiName

protected String jndiName

module

protected String module

start

protected String start

statisticsEnabled

protected Boolean statisticsEnabled
Constructor Detail

AddDistributedCache.Builder

public AddDistributedCache.Builder(String name)
Method Detail

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.