Package org.apache.tapestry5.ioc
Class IOCSymbols
java.lang.Object
org.apache.tapestry5.ioc.IOCSymbols
Configuration symbols used by the IoC container.
- Since:
- 5.2.2
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
The minimum size of the thread pool.static final String
By default, theParallelExecutor
service uses a thread pool.static final String
Time in milliseconds (viaTimeInterval
) to keep waiting threads alive.static final String
Maximium size of the thread pool, which defaults to 10.static final String
The size of the task queue. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
THREAD_POOL_CORE_SIZE
The minimum size of the thread pool. The default is 3. When a task is created and there are fewer than this number of threads in the pool, a new thread is created for the task.- See Also:
-
THREAD_POOL_QUEUE_SIZE
The size of the task queue. When there are at least the core number of threads in the pool, tasks will be placed in the queue. If the queue is empty, more threads may be created (up to the maximum pool size). If the queue is full and all threads have been created, the task is rejected. The default is 100.- Since:
- 5.3
- See Also:
-
THREAD_POOL_MAX_SIZE
Maximium size of the thread pool, which defaults to 10.- See Also:
-
THREAD_POOL_KEEP_ALIVE
Time in milliseconds (viaTimeInterval
) to keep waiting threads alive. Default is one minute.- See Also:
-
THREAD_POOL_ENABLED
By default, theParallelExecutor
service uses a thread pool. In environments (such as Google Application Engine) where thread creation is not allowed, this can be set to "false", and deferred logic will, instead, execute immediately.- Since:
- 5.1.0.3
- See Also:
-
-
Constructor Details
-
IOCSymbols
public IOCSymbols()
-