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

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

public static interface GlobalConfiguration.ExecutorFactoryConfig<T>

Configures executor factory.

Since:
5.0
Author:
Vladimir Blagojevic

Method Summary
 Object addProperty(String key, String value)
          Add key/value property pair to this executor factory configuration
 GlobalConfiguration.ExecutorFactoryConfig<T> factory(Class<? extends T> clazz)
          Specify factory class for executor
 GlobalConfiguration.ExecutorFactoryConfig<T> withProperties(Properties props)
          Set key/value properties to this executor factory configuration
 

Method Detail

factory

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

Parameters:
factory - clazz
Returns:
this ExecutorFactoryConfig

addProperty

Object 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

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

Parameters:
props - Prpperties
Returns:
this ExecutorFactoryConfig


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