B C D E G I L N O P Q R S T

B

BoundedQueue - class org.apache.cocoon.thread.impl.BoundedQueue.
Efficient array-based bounded buffer class.
BoundedQueue() - Constructor for class org.apache.cocoon.thread.impl.BoundedQueue
Create a buffer with the current default capacity.
BoundedQueue(int) - Constructor for class org.apache.cocoon.thread.impl.BoundedQueue
Create a BoundedQueue with the given capacity.

C

ChannelWrapper - class org.apache.cocoon.thread.impl.ChannelWrapper.
Wrapper around a Channel implementation for constructor convenience
ChannelWrapper() - Constructor for class org.apache.cocoon.thread.impl.ChannelWrapper
 
commandStack - Variable in class org.apache.cocoon.thread.impl.DefaultRunnableManager
Sorted set of ExecutionInfo instances, based on their next execution time.
createPool(String, int, int, int, int, boolean, long, String, boolean, int) - Method in class org.apache.cocoon.thread.impl.DefaultRunnableManager
Create a shared ThreadPool
createPool(int, int, int, int, boolean, long, String, boolean, int) - Method in class org.apache.cocoon.thread.impl.DefaultRunnableManager
Create a private ThreadPool

D

DefaultRunnableManager - class org.apache.cocoon.thread.impl.DefaultRunnableManager.
The DefaultRunnableManager implements the RunnableManager interface and is responsible to create ThreadPools and run Runnables in them as background commands.
DefaultRunnableManager() - Constructor for class org.apache.cocoon.thread.impl.DefaultRunnableManager
 
DefaultThreadFactory - class org.apache.cocoon.thread.impl.DefaultThreadFactory.
This class is responsible to create new Thread instances to run a command.
DefaultThreadFactory() - Constructor for class org.apache.cocoon.thread.impl.DefaultThreadFactory
 
DefaultThreadPool - class org.apache.cocoon.thread.impl.DefaultThreadPool.
The DefaultThreadPool class implements the ThreadPool interface.
destroy() - Method in class org.apache.cocoon.thread.impl.DefaultRunnableManager
Destroy

E

execute(String, Runnable, long, long) - Method in class org.apache.cocoon.thread.impl.DefaultRunnableManager
Run a Runnable in the background using a ThreadPool
execute(Runnable, long, long) - Method in class org.apache.cocoon.thread.impl.DefaultRunnableManager
Run a Runnable in the background using a ThreadPool
execute(Runnable, long) - Method in class org.apache.cocoon.thread.impl.DefaultRunnableManager
Run a Runnable in the background using a ThreadPool
execute(Runnable) - Method in class org.apache.cocoon.thread.impl.DefaultRunnableManager
Run a Runnable in the background using a ThreadPool
execute(String, Runnable, long) - Method in class org.apache.cocoon.thread.impl.DefaultRunnableManager
Run a Runnable in the background using a ThreadPool
execute(String, Runnable) - Method in class org.apache.cocoon.thread.impl.DefaultRunnableManager
Run a Runnable in the background using a ThreadPool
execute(Runnable) - Method in class org.apache.cocoon.thread.impl.DefaultThreadPool
Execute a command

G

getBlockPolicy() - Method in class org.apache.cocoon.thread.impl.DefaultThreadPool
Get the block policy
getFactory() - Method in class org.apache.cocoon.thread.impl.DefaultThreadPool
 
getKeepAliveTime() - Method in class org.apache.cocoon.thread.impl.DefaultThreadPool
 
getLogger() - Method in class org.apache.cocoon.thread.impl.DefaultRunnableManager
 
getMaxPoolSize() - Method in class org.apache.cocoon.thread.impl.DefaultThreadPool
 
getMaxQueueSize() - Method in class org.apache.cocoon.thread.impl.DefaultThreadPool
DOCUMENT ME!
getMinPoolSize() - Method in class org.apache.cocoon.thread.impl.DefaultThreadPool
 
getName() - Method in class org.apache.cocoon.thread.impl.DefaultThreadPool
 
getPool(String) - Method in class org.apache.cocoon.thread.impl.DefaultRunnableManager
 
getPriority() - Method in class org.apache.cocoon.thread.impl.DefaultThreadFactory
Get the priority newly created Threads will have
getPriority() - Method in class org.apache.cocoon.thread.impl.DefaultThreadPool
Get hte priority used to create Threads
getQueueSize() - Method in class org.apache.cocoon.thread.impl.BoundedQueue
DOCUMENT ME!
getQueueSize() - Method in class org.apache.cocoon.thread.impl.DefaultThreadPool
DOCUMENT ME!
getQueueSize() - Method in class org.apache.cocoon.thread.impl.LinkedQueue
 
getQueueSize() - Method in interface org.apache.cocoon.thread.impl.Queue
get the current queue size
getQueueSize() - Method in class org.apache.cocoon.thread.impl.SynchronousChannel
 
getShutdownWaitTimeMs() - Method in class org.apache.cocoon.thread.impl.DefaultThreadPool
DOCUMENT ME!

I

init() - Method in class org.apache.cocoon.thread.impl.DefaultRunnableManager
Initialize
init() - Method in class org.apache.cocoon.thread.impl.DefaultThreadPool
Initialize the bean after properties set
isDaemon() - Method in class org.apache.cocoon.thread.impl.DefaultThreadFactory
Get the isDaemon property
isDaemon() - Method in class org.apache.cocoon.thread.impl.DefaultThreadPool
Returns true if thread runs as daemon
isQueued() - Method in class org.apache.cocoon.thread.impl.DefaultThreadPool
Whether this DefaultThreadPool has a queue
isShutdownGraceful() - Method in class org.apache.cocoon.thread.impl.DefaultThreadPool
DOCUMENT ME!

L

LinkedQueue - class org.apache.cocoon.thread.impl.LinkedQueue.
A linked list based channel implementation.
LinkedQueue() - Constructor for class org.apache.cocoon.thread.impl.LinkedQueue
 
logger - Variable in class org.apache.cocoon.thread.impl.DefaultThreadPool
By default we use the logger for this class.

N

newThread(Runnable) - Method in class org.apache.cocoon.thread.impl.DefaultThreadFactory
Create a new Thread for Runnable

O

offer(Object, long) - Method in class org.apache.cocoon.thread.impl.ChannelWrapper
 
org.apache.cocoon.thread.impl - package org.apache.cocoon.thread.impl
 

P

POLICY_DEFAULT - Static variable in class org.apache.cocoon.thread.impl.DefaultThreadPool
Default ThreadPool block policy
peek() - Method in class org.apache.cocoon.thread.impl.ChannelWrapper
 
poll(long) - Method in class org.apache.cocoon.thread.impl.ChannelWrapper
 
put(Object) - Method in class org.apache.cocoon.thread.impl.ChannelWrapper
 

Q

Queue - interface org.apache.cocoon.thread.impl.Queue.
Extension to add queue size reporting

R

remove(Runnable) - Method in class org.apache.cocoon.thread.impl.DefaultRunnableManager
Remove a Runnable from the command stack
run() - Method in class org.apache.cocoon.thread.impl.DefaultRunnableManager
The heart of the command manager

S

SynchronousChannel - class org.apache.cocoon.thread.impl.SynchronousChannel.
A rendezvous channel, similar to those used in CSP and Ada.
SynchronousChannel() - Constructor for class org.apache.cocoon.thread.impl.SynchronousChannel
 
setBlockPolicy(String) - Method in class org.apache.cocoon.thread.impl.DefaultThreadPool
Set the blocking policy
setChannel(Channel) - Method in class org.apache.cocoon.thread.impl.ChannelWrapper
DOCUMENT ME!
setDaemon(boolean) - Method in class org.apache.cocoon.thread.impl.DefaultThreadFactory
Set the isDaemon property
setDaemon(boolean) - Method in class org.apache.cocoon.thread.impl.DefaultThreadPool
Set to true if thread shall run as daemon
setFactory(ThreadFactory) - Method in class org.apache.cocoon.thread.impl.DefaultThreadPool
 
setKeepAliveTime(long) - Method in class org.apache.cocoon.thread.impl.DefaultThreadPool
 
setLogger(Log) - Method in class org.apache.cocoon.thread.impl.DefaultRunnableManager
 
setMaxPoolSize(int) - Method in class org.apache.cocoon.thread.impl.DefaultThreadPool
 
setMinPoolSize(int) - Method in class org.apache.cocoon.thread.impl.DefaultThreadPool
 
setName(String) - Method in class org.apache.cocoon.thread.impl.DefaultThreadPool
DOCUMENT ME!
setPoolPriority(String) - Method in class org.apache.cocoon.thread.impl.DefaultThreadPool
 
setPriority(int) - Method in class org.apache.cocoon.thread.impl.DefaultThreadFactory
Set the priority newly created Threads should have
setPriority(int) - Method in class org.apache.cocoon.thread.impl.DefaultThreadPool
 
setQueueSize(int) - Method in class org.apache.cocoon.thread.impl.DefaultThreadPool
Sets the queue size of the thread pool
setShutdownGraceful(boolean) - Method in class org.apache.cocoon.thread.impl.DefaultThreadPool
DOCUMENT ME!
setShutdownWaitTimeMs(int) - Method in class org.apache.cocoon.thread.impl.DefaultThreadPool
DOCUMENT ME!
setWorkerThreadPools(Map) - Method in class org.apache.cocoon.thread.impl.DefaultRunnableManager
 
shutdown() - Method in class org.apache.cocoon.thread.impl.DefaultThreadPool
 
start() - Method in class org.apache.cocoon.thread.impl.DefaultRunnableManager
Start the managing thread
stop() - Method in class org.apache.cocoon.thread.impl.DefaultRunnableManager
Stop the managing thread

T

take() - Method in class org.apache.cocoon.thread.impl.ChannelWrapper
 
toString() - Method in class org.apache.cocoon.thread.impl.DefaultThreadPool
Overwrite the toString method

B C D E G I L N O P Q R S T

Copyright © 1999-2008 The Apache Software Foundation. All Rights Reserved.