Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep
A C D E F G I K L M N O P R S T W

A

addCallback(ThreadPoolRunnable, int) - Method in class org.apache.tomcat.util.threads.Reaper
 
addManagedObject(TimeStamp) - Method in class org.apache.tomcat.util.threads.Expirer
 
addThread(Thread, ThreadPool.ControlRunnable) - Method in class org.apache.tomcat.util.threads.ThreadPool
 
addThreadPoolListener(ThreadPool.ThreadPoolListener) - Method in class org.apache.tomcat.util.threads.ThreadPool
 
adjustLimits() - Method in class org.apache.tomcat.util.threads.ThreadPool
 
attributes - Variable in class org.apache.tomcat.util.threads.ThreadWithAttributes
 

C

cbacks - Variable in class org.apache.tomcat.util.threads.Reaper
 
checkInterval - Variable in class org.apache.tomcat.util.threads.Expirer
 
checkSpareControllers() - Method in class org.apache.tomcat.util.threads.ThreadPool
Called by the monitor thread to harvest idle threads.
checkedObjs - Variable in class org.apache.tomcat.util.threads.Expirer
 
control - Variable in class org.apache.tomcat.util.threads.ThreadWithAttributes
 
count - Variable in class org.apache.tomcat.util.threads.Reaper
 
createThreadPool(boolean) - Static method in class org.apache.tomcat.util.threads.ThreadPool
Create a ThreadPool instance.
currentStage - Variable in class org.apache.tomcat.util.threads.ThreadWithAttributes
 
currentThreadCount - Variable in class org.apache.tomcat.util.threads.ThreadPool
 
currentThreadsBusy - Variable in class org.apache.tomcat.util.threads.ThreadPool
 

D

daemon - Variable in class org.apache.tomcat.util.threads.Reaper
 

E

Expirer - class org.apache.tomcat.util.threads.Expirer.
Expire unused objects.
Expirer() - Constructor for class org.apache.tomcat.util.threads.Expirer
 
Expirer.ExpireCallback - interface org.apache.tomcat.util.threads.Expirer.ExpireCallback.
 
expireCallback - Variable in class org.apache.tomcat.util.threads.Expirer
 
expired(TimeStamp) - Method in interface org.apache.tomcat.util.threads.Expirer.ExpireCallback
 

F

findControlRunnable() - Method in class org.apache.tomcat.util.threads.ThreadPool
 

G

getAttributes(Object) - Method in class org.apache.tomcat.util.threads.ThreadWithAttributes
Generic attributes.
getCheckInterval() - Method in class org.apache.tomcat.util.threads.Expirer
 
getCurrentStage(Object) - Method in class org.apache.tomcat.util.threads.ThreadWithAttributes
Information about the curent performed operation
getCurrentThreadCount() - Method in class org.apache.tomcat.util.threads.ThreadPool
 
getCurrentThreadsBusy() - Method in class org.apache.tomcat.util.threads.ThreadPool
 
getDaemon() - Method in class org.apache.tomcat.util.threads.ThreadPool
 
getDebug() - Static method in class org.apache.tomcat.util.threads.ThreadPool
 
getDefaultIntervale() - Method in class org.apache.tomcat.util.threads.Reaper
 
getInitData() - Method in class org.apache.tomcat.util.threads.Expirer
 
getInitData() - Method in interface org.apache.tomcat.util.threads.ThreadPoolRunnable
Called when this object is first loaded in the thread pool.
getMaxSpareThreads() - Method in class org.apache.tomcat.util.threads.ThreadPool
 
getMaxThreads() - Method in class org.apache.tomcat.util.threads.ThreadPool
 
getMinSpareThreads() - Method in class org.apache.tomcat.util.threads.ThreadPool
 
getMonitor() - Method in class org.apache.tomcat.util.threads.ThreadPool
 
getName() - Method in class org.apache.tomcat.util.threads.ThreadPool
 
getNote(Object, int) - Method in class org.apache.tomcat.util.threads.ThreadWithAttributes
 
getParam(Object) - Method in class org.apache.tomcat.util.threads.ThreadWithAttributes
Information about the current request ( or the main object we are processing )
getSequence() - Method in class org.apache.tomcat.util.threads.ThreadPool
 
getThreadData(Object) - Method in class org.apache.tomcat.util.threads.ThreadWithAttributes
 
getThreadParam() - Method in class org.apache.tomcat.util.threads.ThreadPool
Return an array with the current "param" ( XXX better name ? ) of each thread.
getThreadPriority() - Method in class org.apache.tomcat.util.threads.ThreadPool
Returns the priority level of current and future threads in this pool.
getThreadStatus() - Method in class org.apache.tomcat.util.threads.ThreadPool
Return an array with the status of each thread.
getThreads() - Method in class org.apache.tomcat.util.threads.ThreadPool
 

I

INITIAL_SIZE - Static variable in class org.apache.tomcat.util.threads.Expirer
 
interval - Variable in class org.apache.tomcat.util.threads.Reaper
 
interval - Variable in class org.apache.tomcat.util.threads.ThreadPool.MonitorRunnable
 
isDaemon - Variable in class org.apache.tomcat.util.threads.ThreadPool
 
isDaemon() - Method in class org.apache.tomcat.util.threads.ThreadPool
 

K

kill() - Method in class org.apache.tomcat.util.threads.ThreadPool.ControlRunnable
 

L

listeners - Variable in class org.apache.tomcat.util.threads.ThreadPool
 
lock - Variable in class org.apache.tomcat.util.threads.Reaper
Adding and removing callbacks is synchronized
log - Static variable in class org.apache.tomcat.util.threads.Expirer
 
log - Static variable in class org.apache.tomcat.util.threads.Reaper
 
log - Static variable in class org.apache.tomcat.util.threads.ThreadPool
 
log(String) - Method in class org.apache.tomcat.util.threads.ThreadPool
Deprecated.  
logFull(Log, int, int) - Static method in class org.apache.tomcat.util.threads.ThreadPool
 
logfull - Static variable in class org.apache.tomcat.util.threads.ThreadPool
 

M

MAX_NOTES - Static variable in class org.apache.tomcat.util.threads.ThreadWithAttributes
 
MAX_SPARE_THREADS - Static variable in class org.apache.tomcat.util.threads.ThreadPool
 
MAX_THREADS - Static variable in class org.apache.tomcat.util.threads.ThreadPool
 
MAX_THREADS_MIN - Static variable in class org.apache.tomcat.util.threads.ThreadPool
 
MIN_SPARE_THREADS - Static variable in class org.apache.tomcat.util.threads.ThreadPool
 
managedCount - Variable in class org.apache.tomcat.util.threads.Expirer
 
managedLen - Variable in class org.apache.tomcat.util.threads.Expirer
 
managedObjs - Variable in class org.apache.tomcat.util.threads.Expirer
 
maxSpareThreads - Variable in class org.apache.tomcat.util.threads.ThreadPool
 
maxThreads - Variable in class org.apache.tomcat.util.threads.ThreadPool
 
minSpareThreads - Variable in class org.apache.tomcat.util.threads.ThreadPool
 
monitor - Variable in class org.apache.tomcat.util.threads.ThreadPool
 

N

name - Variable in class org.apache.tomcat.util.threads.ThreadPool
Name of the threadpool
noThData - Variable in class org.apache.tomcat.util.threads.ThreadPool.ControlRunnable
Per thread data - can be used only if all actions are of the same type.
notes - Variable in class org.apache.tomcat.util.threads.ThreadWithAttributes
 
notifyThreadEnd(ThreadPool.ControlRunnable) - Method in class org.apache.tomcat.util.threads.ThreadPool
Inform the pool that the specific thread finish.

O

openThreads(int) - Method in class org.apache.tomcat.util.threads.ThreadPool
Create missing threads.
org.apache.tomcat.util.threads - package org.apache.tomcat.util.threads
 

P

p - Variable in class org.apache.tomcat.util.threads.ThreadPool.ControlRunnable
ThreadPool where this thread will be returned
p - Variable in class org.apache.tomcat.util.threads.ThreadPool.MonitorRunnable
 
param - Variable in class org.apache.tomcat.util.threads.ThreadWithAttributes
 
pool - Variable in class org.apache.tomcat.util.threads.ThreadPool
 

R

Reaper - class org.apache.tomcat.util.threads.Reaper.
The reaper is a background thread with which ticks every minute and calls registered objects to allow reaping of old session data.
Reaper() - Constructor for class org.apache.tomcat.util.threads.Reaper
 
Reaper(String) - Constructor for class org.apache.tomcat.util.threads.Reaper
 
reaper - Variable in class org.apache.tomcat.util.threads.Expirer
 
removeCallback(int) - Method in class org.apache.tomcat.util.threads.Reaper
 
removeManagedObject(TimeStamp) - Method in class org.apache.tomcat.util.threads.Expirer
 
removeThread(Thread) - Method in class org.apache.tomcat.util.threads.ThreadPool
 
returnController(ThreadPool.ControlRunnable) - Method in class org.apache.tomcat.util.threads.ThreadPool
Returns the thread to the pool.
run() - Method in class org.apache.tomcat.util.threads.Reaper
 
run() - Method in class org.apache.tomcat.util.threads.ThreadPool.ControlRunnable
 
run() - Method in class org.apache.tomcat.util.threads.ThreadPool.MonitorRunnable
 
run(Runnable) - Method in class org.apache.tomcat.util.threads.ThreadPool
 
runIt(Object[]) - Method in class org.apache.tomcat.util.threads.Expirer
 
runIt(Runnable) - Method in class org.apache.tomcat.util.threads.ThreadPool.ControlRunnable
Run a task
runIt(ThreadPoolRunnable) - Method in class org.apache.tomcat.util.threads.ThreadPool.ControlRunnable
Run a task
runIt(ThreadPoolRunnable) - Method in class org.apache.tomcat.util.threads.ThreadPool
Executes a given Runnable on a thread in the pool, block if needed.
runIt(Object[]) - Method in interface org.apache.tomcat.util.threads.ThreadPoolRunnable
This method will be executed in one of the pool's threads.
running - Static variable in class org.apache.tomcat.util.threads.Reaper
 

S

sequence - Variable in class org.apache.tomcat.util.threads.ThreadPool
Sequence.
setCheckInterval(int) - Method in class org.apache.tomcat.util.threads.Expirer
 
setCurrentStage(Object, String) - Method in class org.apache.tomcat.util.threads.ThreadWithAttributes
 
setDaemon(boolean) - Method in class org.apache.tomcat.util.threads.ThreadPool
The default is true - the created threads will be in daemon mode.
setDefaultInterval(long) - Method in class org.apache.tomcat.util.threads.Reaper
 
setExpireCallback(Expirer.ExpireCallback) - Method in class org.apache.tomcat.util.threads.Expirer
 
setInterval(int) - Method in class org.apache.tomcat.util.threads.ThreadPool.MonitorRunnable
 
setMaxSpareThreads(int) - Method in class org.apache.tomcat.util.threads.ThreadPool
 
setMaxThreads(int) - Method in class org.apache.tomcat.util.threads.ThreadPool
 
setMinSpareThreads(int) - Method in class org.apache.tomcat.util.threads.ThreadPool
 
setName(String) - Method in class org.apache.tomcat.util.threads.ThreadPool
 
setNote(Object, int, Object) - Method in class org.apache.tomcat.util.threads.ThreadWithAttributes
Notes - for attributes that need fast access ( array ) The application is responsible for id management
setParam(Object, Object) - Method in class org.apache.tomcat.util.threads.ThreadWithAttributes
 
setThreadData(Object, Object[]) - Method in class org.apache.tomcat.util.threads.ThreadWithAttributes
 
setThreadPriority(int) - Method in class org.apache.tomcat.util.threads.ThreadPool
Sets the thread priority for current and future threads in this pool.
shouldRun - Variable in class org.apache.tomcat.util.threads.ThreadPool.ControlRunnable
Activate the execution of the action
shouldTerminate - Variable in class org.apache.tomcat.util.threads.ThreadPool.ControlRunnable
Stop this thread
shouldTerminate - Variable in class org.apache.tomcat.util.threads.ThreadPool.MonitorRunnable
 
shutdown() - Method in class org.apache.tomcat.util.threads.ThreadPool
Stop the thread pool
sm - Static variable in class org.apache.tomcat.util.threads.ThreadPool
 
start() - Method in class org.apache.tomcat.util.threads.Expirer
 
start() - Method in class org.apache.tomcat.util.threads.ThreadPool.MonitorRunnable
 
start() - Method in class org.apache.tomcat.util.threads.ThreadPool
 
startReaper() - Method in class org.apache.tomcat.util.threads.Reaper
 
stop() - Method in class org.apache.tomcat.util.threads.Expirer
 
stop() - Method in class org.apache.tomcat.util.threads.ThreadPool.ControlRunnable
 
stop() - Method in class org.apache.tomcat.util.threads.ThreadPool.MonitorRunnable
 
stopReaper() - Method in class org.apache.tomcat.util.threads.Reaper
 
stopThePool - Variable in class org.apache.tomcat.util.threads.ThreadPool
 

T

ThreadPool - class org.apache.tomcat.util.threads.ThreadPool.
A thread pool that is trying to copy the apache process management.
ThreadPool() - Constructor for class org.apache.tomcat.util.threads.ThreadPool
Constructor.
ThreadPool.ControlRunnable - class org.apache.tomcat.util.threads.ThreadPool.ControlRunnable.
A Thread object that executes various actions ( ThreadPoolRunnable ) under control of ThreadPool
ThreadPool.ControlRunnable(ThreadPool) - Constructor for class org.apache.tomcat.util.threads.ThreadPool.ControlRunnable
Start a new thread, with no method in it
ThreadPool.MonitorRunnable - class org.apache.tomcat.util.threads.ThreadPool.MonitorRunnable.
Periodically execute an action - cleanup in this case
ThreadPool.MonitorRunnable(ThreadPool) - Constructor for class org.apache.tomcat.util.threads.ThreadPool.MonitorRunnable
 
ThreadPool.ThreadPoolListener - interface org.apache.tomcat.util.threads.ThreadPool.ThreadPoolListener.
Interface to allow applications to be notified when a threads are created and stopped.
ThreadPoolRunnable - interface org.apache.tomcat.util.threads.ThreadPoolRunnable.
Implemented if you want to run a piece of code inside a thread pool.
ThreadWithAttributes - class org.apache.tomcat.util.threads.ThreadWithAttributes.
Special thread that allows storing of attributes and notes.
ThreadWithAttributes(Object, Runnable) - Constructor for class org.apache.tomcat.util.threads.ThreadWithAttributes
 
t - Variable in class org.apache.tomcat.util.threads.ThreadPool.ControlRunnable
The thread that executes the actions
t - Variable in class org.apache.tomcat.util.threads.ThreadPool.MonitorRunnable
 
tdata - Variable in class org.apache.tomcat.util.threads.Reaper
 
terminate() - Method in class org.apache.tomcat.util.threads.ThreadPool.ControlRunnable
 
terminate() - Method in class org.apache.tomcat.util.threads.ThreadPool.MonitorRunnable
Stop the monitor
thData - Variable in class org.apache.tomcat.util.threads.ThreadWithAttributes
 
threadEnd(ThreadPool, Thread) - Method in interface org.apache.tomcat.util.threads.ThreadPool.ThreadPoolListener
 
threadPriority - Variable in class org.apache.tomcat.util.threads.ThreadPool
Thread priority.
threadStart(ThreadPool, Thread) - Method in interface org.apache.tomcat.util.threads.ThreadPool.ThreadPoolListener
 
threadStatusString() - Method in class org.apache.tomcat.util.threads.ThreadPool
Debug display of the stage of each thread.
threads - Variable in class org.apache.tomcat.util.threads.ThreadPool
The threads that are part of the pool.
toRun - Variable in class org.apache.tomcat.util.threads.ThreadPool.ControlRunnable
The method that is executed in this thread
toRunRunnable - Variable in class org.apache.tomcat.util.threads.ThreadPool.ControlRunnable
 

W

WORK_WAIT_TIMEOUT - Static variable in class org.apache.tomcat.util.threads.ThreadPool
 

A C D E F G I K L M N O P R S T W