Class ExecutorFactoryConfigurationBuilder
java.lang.Object
org.infinispan.configuration.global.ExecutorFactoryConfigurationBuilder
- All Implemented Interfaces:
org.infinispan.commons.configuration.Builder<ExecutorFactoryConfiguration>,GlobalConfigurationChildBuilder
public class ExecutorFactoryConfigurationBuilder
extends Object
implements org.infinispan.commons.configuration.Builder<ExecutorFactoryConfiguration>
Configures executor factory.
-
Method Summary
Modifier and TypeMethodDescriptionaddProperty(String key, String value) Add key/value property pair to this executor factory configurationConfiguration for the asynchronous operations thread poolorg.infinispan.commons.configuration.attributes.AttributeSetConfiguration for the blocking thread poolbuild()Builds aGlobalConfigurationobject using the settings applied to this buildercreate()defaultCacheName(String defaultCacheName) Sets the name of the cache that acts as the default cache and is returned byEmbeddedCacheManager.getCache().Configuration for the expiration thread poolfactory(org.infinispan.commons.executors.ExecutorFactory factory) Specify factory class for executor NOTE: Currently Infinispan will not use the object instance, but instead instantiate a new instance of the class.protected GlobalConfigurationBuilderGlobal state configurationjmx()Global JMX configuration.Configuration for the listener thread poolmetrics()Global metrics configuration.List<org.infinispan.commons.configuration.Builder<?>> modules()Global modules configurationConfiguration for the non blocking thread poolConfiguration for the persistence thread poolread(ExecutorFactoryConfiguration template, org.infinispan.commons.configuration.Combine combine) security()Security-related configurationGlobal serialization (i.e.shutdown()Shutdown configurationsite()Cross-site replication configurationtoString()tracing()Global tracing configuration.Transport-related (i.e.voidvalidate()withProperties(Properties props) Set key/value properties to this executor factory configurationMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.infinispan.commons.configuration.Builder
read, reset
-
Method Details
-
attributes
public org.infinispan.commons.configuration.attributes.AttributeSet attributes()- Specified by:
attributesin interfaceorg.infinispan.commons.configuration.Builder<ExecutorFactoryConfiguration>
-
factory
public ExecutorFactoryConfigurationBuilder factory(org.infinispan.commons.executors.ExecutorFactory factory) Specify factory class for executor NOTE: Currently Infinispan will not use the object instance, but instead instantiate a new instance of the class. Therefore, do not expect any state to survive, and provide a no-args constructor to any instance. This will be resolved in Infinispan 5.2.0- Parameters:
factory- clazz- Returns:
- this ExecutorFactoryConfig
-
addProperty
Add key/value property pair to this executor factory configuration- Parameters:
key- property keyvalue- property value- Returns:
- this ExecutorFactoryConfig
-
withProperties
Set key/value properties to this executor factory configuration- Parameters:
props- Properties- Returns:
- this ExecutorFactoryConfig
-
validate
public void validate()- Specified by:
validatein interfaceorg.infinispan.commons.configuration.Builder<ExecutorFactoryConfiguration>
-
create
- Specified by:
createin interfaceorg.infinispan.commons.configuration.Builder<ExecutorFactoryConfiguration>
-
read
public ExecutorFactoryConfigurationBuilder read(ExecutorFactoryConfiguration template, org.infinispan.commons.configuration.Combine combine) - Specified by:
readin interfaceorg.infinispan.commons.configuration.Builder<ExecutorFactoryConfiguration>
-
toString
-
getGlobalConfig
-
transport
Description copied from interface:GlobalConfigurationChildBuilderTransport-related (i.e. clustering) configuration- Specified by:
transportin interfaceGlobalConfigurationChildBuilder
-
metrics
Description copied from interface:GlobalConfigurationChildBuilderGlobal metrics configuration.- Specified by:
metricsin interfaceGlobalConfigurationChildBuilder
-
tracing
Description copied from interface:GlobalConfigurationChildBuilderGlobal tracing configuration.- Specified by:
tracingin interfaceGlobalConfigurationChildBuilder
-
jmx
Description copied from interface:GlobalConfigurationChildBuilderGlobal JMX configuration.- Specified by:
jmxin interfaceGlobalConfigurationChildBuilder
-
globalState
Description copied from interface:GlobalConfigurationChildBuilderGlobal state configuration- Specified by:
globalStatein interfaceGlobalConfigurationChildBuilder
-
serialization
Description copied from interface:GlobalConfigurationChildBuilderGlobal serialization (i.e. marshalling) configuration- Specified by:
serializationin interfaceGlobalConfigurationChildBuilder
-
listenerThreadPool
Description copied from interface:GlobalConfigurationChildBuilderConfiguration for the listener thread pool- Specified by:
listenerThreadPoolin interfaceGlobalConfigurationChildBuilder
-
asyncThreadPool
Description copied from interface:GlobalConfigurationChildBuilderConfiguration for the asynchronous operations thread pool- Specified by:
asyncThreadPoolin interfaceGlobalConfigurationChildBuilder
-
expirationThreadPool
Description copied from interface:GlobalConfigurationChildBuilderConfiguration for the expiration thread pool- Specified by:
expirationThreadPoolin interfaceGlobalConfigurationChildBuilder
-
persistenceThreadPool
Description copied from interface:GlobalConfigurationChildBuilderConfiguration for the persistence thread pool- Specified by:
persistenceThreadPoolin interfaceGlobalConfigurationChildBuilder
-
blockingThreadPool
Description copied from interface:GlobalConfigurationChildBuilderConfiguration for the blocking thread pool- Specified by:
blockingThreadPoolin interfaceGlobalConfigurationChildBuilder
-
nonBlockingThreadPool
Description copied from interface:GlobalConfigurationChildBuilderConfiguration for the non blocking thread pool- Specified by:
nonBlockingThreadPoolin interfaceGlobalConfigurationChildBuilder
-
security
Description copied from interface:GlobalConfigurationChildBuilderSecurity-related configuration- Specified by:
securityin interfaceGlobalConfigurationChildBuilder
-
shutdown
Description copied from interface:GlobalConfigurationChildBuilderShutdown configuration- Specified by:
shutdownin interfaceGlobalConfigurationChildBuilder
-
site
Description copied from interface:GlobalConfigurationChildBuilderCross-site replication configuration- Specified by:
sitein interfaceGlobalConfigurationChildBuilder
-
modules
Description copied from interface:GlobalConfigurationChildBuilderGlobal modules configuration- Specified by:
modulesin interfaceGlobalConfigurationChildBuilder
-
defaultCacheName
Description copied from interface:GlobalConfigurationChildBuilderSets the name of the cache that acts as the default cache and is returned byEmbeddedCacheManager.getCache(). Not- Specified by:
defaultCacheNamein interfaceGlobalConfigurationChildBuilder
-
build
Description copied from interface:GlobalConfigurationChildBuilderBuilds aGlobalConfigurationobject using the settings applied to this builder- Specified by:
buildin interfaceGlobalConfigurationChildBuilder
-