org.apache.openjpa.slice
Class ExecutorServiceValue
java.lang.Object
   org.apache.openjpa.lib.conf.Value
org.apache.openjpa.lib.conf.Value
       org.apache.openjpa.lib.conf.ObjectValue
org.apache.openjpa.lib.conf.ObjectValue
           org.apache.openjpa.lib.conf.PluginValue
org.apache.openjpa.lib.conf.PluginValue
               org.apache.openjpa.slice.ExecutorServiceValue
org.apache.openjpa.slice.ExecutorServiceValue
- All Implemented Interfaces: 
- java.lang.Cloneable
- public class ExecutorServiceValue 
- extends PluginValue
Value type used to represent a ExecutorService.
 This value controls the thread pool parameters. The thread pool is used
 to execute the queries.
- Author:
- Pinaki Poddar
 
| Method Summary | 
|  java.lang.Object | instantiate(java.lang.Class type,
            Configuration conf,
            boolean fatal)Configures a cached or fixed thread pool.
 | 
|  void | setProperties(java.lang.String props)
 | 
 
| Methods inherited from class org.apache.openjpa.lib.conf.PluginValue | 
| getClassName, getInternalString, getProperties, getString, getValueType, isSingleton, objectChanged, set, setClassName, setInternalString, setString | 
 
 
| Methods inherited from class org.apache.openjpa.lib.conf.Value | 
| addListener, alias, alias, assertChangeable, clone, equals, getAliases, getDefault, getInstantiatingGetter, getListeners, getLoadKey, getOriginalValue, getProperty, getScope, hashCode, isAliasListComprehensive, isDynamic, removeListener, setAlias, setAlias, setAliases, setAliasListComprehensive, setDefault, setDynamic, setInstantiatingGetter, setLoadKey, setObject, setProperty, setScope, unalias, unalias, valueChanged | 
 
| Methods inherited from class java.lang.Object | 
| finalize, getClass, notify, notifyAll, toString, wait, wait, wait | 
 
ExecutorServiceValue
public ExecutorServiceValue()
setProperties
public void setProperties(java.lang.String props)
- 
- Overrides:
- setPropertiesin class- PluginValue
 
- 
 
instantiate
public java.lang.Object instantiate(java.lang.Class type,
                                    Configuration conf,
                                    boolean fatal)
- Configures a cached or fixed thread pool.
 
- 
- Overrides:
- instantiatein class- PluginValue
 
- 
 
Copyright © 2006-2008 Apache Software Foundation. All Rights Reserved.