org.infinispan.config
Interface FluentGlobalConfiguration.ExecutorFactoryConfig<T>

All Known Implementing Classes:
GlobalConfiguration.ExecutorFactoryType, GlobalConfiguration.ScheduledExecutorFactoryType
Enclosing class:
FluentGlobalConfiguration

public static interface FluentGlobalConfiguration.ExecutorFactoryConfig<T>

Configures executor factory.


Method Summary
 FluentGlobalConfiguration.ExecutorFactoryConfig<T> addProperty(String key, String value)
          Add key/value property pair to this executor factory configuration
 FluentGlobalConfiguration.ExecutorFactoryConfig<ExecutorFactory> asyncListenerExecutor()
           
 FluentGlobalConfiguration.ExecutorFactoryConfig<ExecutorFactory> asyncTransportExecutor()
           
 GlobalConfiguration build()
           
 FluentGlobalConfiguration.ExecutorFactoryConfig<ScheduledExecutorFactory> evictionScheduledExecutor()
           
 FluentGlobalConfiguration.ExecutorFactoryConfig<T> factory(Class<? extends T> factory)
          Specify factory class for executor
 FluentGlobalConfiguration.GlobalJmxStatisticsConfig globalJmxStatistics()
          This method allows configuration of the global, or cache manager level, jmx statistics.
 FluentGlobalConfiguration.ExecutorFactoryConfig<ScheduledExecutorFactory> replicationQueueScheduledExecutor()
           
 FluentGlobalConfiguration.SerializationConfig serialization()
           
 FluentGlobalConfiguration.ShutdownConfig shutdown()
           
 FluentGlobalConfiguration.TransportConfig transport()
           
 FluentGlobalConfiguration.ExecutorFactoryConfig<T> withProperties(Properties props)
          Set key/value properties to this executor factory configuration
 

Method Detail

factory

FluentGlobalConfiguration.ExecutorFactoryConfig<T> factory(Class<? extends T> factory)
Specify factory class for executor

Parameters:
factory - clazz
Returns:
this ExecutorFactoryConfig

addProperty

FluentGlobalConfiguration.ExecutorFactoryConfig<T> addProperty(String key,
                                                               String value)
Add key/value property pair to this executor factory configuration

Parameters:
key - property key
value - property value
Returns:
previous value if exists, null otherwise

withProperties

FluentGlobalConfiguration.ExecutorFactoryConfig<T> withProperties(Properties props)
Set key/value properties to this executor factory configuration

Parameters:
props - Properties
Returns:
this ExecutorFactoryConfig

transport

FluentGlobalConfiguration.TransportConfig transport()

globalJmxStatistics

FluentGlobalConfiguration.GlobalJmxStatisticsConfig globalJmxStatistics()
This method allows configuration of the global, or cache manager level, jmx statistics. When this method is called, it automatically enables global jmx statistics. So, if you want it to be disabled, make sure you call FluentGlobalConfiguration.GlobalJmxStatisticsConfig.disable()


serialization

FluentGlobalConfiguration.SerializationConfig serialization()

asyncTransportExecutor

FluentGlobalConfiguration.ExecutorFactoryConfig<ExecutorFactory> asyncTransportExecutor()

asyncListenerExecutor

FluentGlobalConfiguration.ExecutorFactoryConfig<ExecutorFactory> asyncListenerExecutor()

evictionScheduledExecutor

FluentGlobalConfiguration.ExecutorFactoryConfig<ScheduledExecutorFactory> evictionScheduledExecutor()

replicationQueueScheduledExecutor

FluentGlobalConfiguration.ExecutorFactoryConfig<ScheduledExecutorFactory> replicationQueueScheduledExecutor()

shutdown

FluentGlobalConfiguration.ShutdownConfig shutdown()

build

GlobalConfiguration build()

-->

Copyright © 2011 JBoss, a division of Red Hat. All Rights Reserved.