A C D E F G H I J K L M N O P R S T U V W X

A

AVOIDED - Static variable in class org.apache.commons.jelly.tags.threads.RunnableStatus
 
acquire() - Method in class org.apache.commons.jelly.tags.threads.Mutex
 
addThread(Thread) - Method in class org.apache.commons.jelly.tags.threads.GroupTag
Add a thread to the thread group list
attempt(long) - Method in class org.apache.commons.jelly.tags.threads.Mutex
 

C

closeOutput - Variable in class org.apache.commons.jelly.tags.threads.ThreadTag
Should we close the underlying output

D

daemon - Variable in class org.apache.commons.jelly.tags.threads.ThreadTag
Set if the thread should be a daemon or not
doTag(XMLOutput) - Method in class org.apache.commons.jelly.tags.threads.GroupTag
Child threads will add themselves and will then all be started together
doTag(XMLOutput) - Method in class org.apache.commons.jelly.tags.threads.MutexTag
Create and set the mutex
doTag(XMLOutput) - Method in class org.apache.commons.jelly.tags.threads.SleepTag
Put the thread to sleep
doTag(XMLOutput) - Method in class org.apache.commons.jelly.tags.threads.ThreadTag
 
doTag(XMLOutput) - Method in class org.apache.commons.jelly.tags.threads.UseMutexTag
Calls useMutex after checking to make sure that setMutex was called
doTag(XMLOutput) - Method in class org.apache.commons.jelly.tags.threads.UseThreadTag
The default behavior is to either use the set thread or to search for a parent thread to use.
doTag(XMLOutput) - Method in class org.apache.commons.jelly.tags.threads.WaitForTag
Check the requirements

E

equals(RunnableStatus) - Method in class org.apache.commons.jelly.tags.threads.RunnableStatus
 
equals(int) - Method in class org.apache.commons.jelly.tags.threads.RunnableStatus
 
exception - Variable in class org.apache.commons.jelly.tags.threads.RunnableStatus
On a status change to FAILURE an exception can be set

F

FAILURE - Static variable in class org.apache.commons.jelly.tags.threads.RunnableStatus
 

G

GroupTag - class org.apache.commons.jelly.tags.threads.GroupTag.
Represents a group of threads.
GroupTag() - Constructor for class org.apache.commons.jelly.tags.threads.GroupTag
 
get() - Method in class org.apache.commons.jelly.tags.threads.RunnableStatus
 
getException() - Method in class org.apache.commons.jelly.tags.threads.RunnableStatus
 
getMutex() - Method in class org.apache.commons.jelly.tags.threads.UseMutexTag
Get the mutex
getStatus() - Method in class org.apache.commons.jelly.tags.threads.JellyThread
Get the status of this thread
getStatusCode(String) - Static method in class org.apache.commons.jelly.tags.threads.RunnableStatus
Used to get the status code from a string representation.
getStatusString(int) - Static method in class org.apache.commons.jelly.tags.threads.RunnableStatus
The reverse of getStatusCode
getThread() - Method in class org.apache.commons.jelly.tags.threads.ThreadTag
Get the thread instance
getThread() - Method in class org.apache.commons.jelly.tags.threads.UseThreadTag
Get a reference to the thread to use
getThreadGroup() - Method in class org.apache.commons.jelly.tags.threads.UseThreadTag
Get the thread group
getThreads() - Method in class org.apache.commons.jelly.tags.threads.GroupTag
Get the list of threads in this thread group
group - Variable in class org.apache.commons.jelly.tags.threads.WaitForTag
 

H

howLong - Variable in class org.apache.commons.jelly.tags.threads.SleepTag
How long to sleep for

I

InterruptTag - class org.apache.commons.jelly.tags.threads.InterruptTag.
Interrupts a thread or thread group.
InterruptTag() - Constructor for class org.apache.commons.jelly.tags.threads.InterruptTag
 
inuse_ - Variable in class org.apache.commons.jelly.tags.threads.Mutex
The lock status
isAvoided() - Method in class org.apache.commons.jelly.tags.threads.RunnableStatus
 
isFailure() - Method in class org.apache.commons.jelly.tags.threads.RunnableStatus
 
isKilled() - Method in class org.apache.commons.jelly.tags.threads.RunnableStatus
 
isSuccess() - Method in class org.apache.commons.jelly.tags.threads.RunnableStatus
 
isTimedOut() - Method in class org.apache.commons.jelly.tags.threads.RunnableStatus
 
isValidStatus(int) - Static method in class org.apache.commons.jelly.tags.threads.RunnableStatus
 

J

JellyThread - class org.apache.commons.jelly.tags.threads.JellyThread.
Adds some functionality to the jdk thread class.
JellyThread() - Constructor for class org.apache.commons.jelly.tags.threads.JellyThread
 
JoinTag - class org.apache.commons.jelly.tags.threads.JoinTag.
A thread join waits until a thread or threadGroup is complete.
JoinTag() - Constructor for class org.apache.commons.jelly.tags.threads.JoinTag
 
joinThread(Thread) - Method in class org.apache.commons.jelly.tags.threads.JoinTag
Join a thread

K

KILLED - Static variable in class org.apache.commons.jelly.tags.threads.RunnableStatus
 

L

log - Static variable in class org.apache.commons.jelly.tags.threads.JellyThread
The Log to which logging calls will be made.
log - Static variable in class org.apache.commons.jelly.tags.threads.ThreadTag
The Log to which logging calls will be made.

M

Mutex - class org.apache.commons.jelly.tags.threads.Mutex.
A simple non-reentrant mutual exclusion lock.
Mutex() - Constructor for class org.apache.commons.jelly.tags.threads.Mutex
 
MutexTag - class org.apache.commons.jelly.tags.threads.MutexTag.
Creates a mutex object and stores it in a variable
MutexTag() - Constructor for class org.apache.commons.jelly.tags.threads.MutexTag
 
mutex - Variable in class org.apache.commons.jelly.tags.threads.UseMutexTag
The mutex to use in some way.

N

NONE - Static variable in class org.apache.commons.jelly.tags.threads.RunnableStatus
 
NotifyTag - class org.apache.commons.jelly.tags.threads.NotifyTag.
This calls mutex.notify() or mutex.notifyAll() on the mutex passed in via the "mutex" attribute.
NotifyTag() - Constructor for class org.apache.commons.jelly.tags.threads.NotifyTag
 
name - Variable in class org.apache.commons.jelly.tags.threads.ThreadTag
Thread Name
newContext - Variable in class org.apache.commons.jelly.tags.threads.ThreadTag
Should a new context be created
notifyAll - Variable in class org.apache.commons.jelly.tags.threads.NotifyTag
True means mutex.notifyAll() will be called

O

onlyWait - Variable in class org.apache.commons.jelly.tags.threads.WaitForTag
 
org.apache.commons.jelly.tags.threads - package org.apache.commons.jelly.tags.threads
A library for processing Jelly scripts using multiple threads.

P

priority - Variable in class org.apache.commons.jelly.tags.threads.ThreadTag
Thread priority, defaults to Thread.NORM_PRIORITY

R

RequirementException - exception org.apache.commons.jelly.tags.threads.RequirementException.
Thrown by the WaitForTag when a requirement is not met.
RequirementException(String) - Constructor for class org.apache.commons.jelly.tags.threads.RequirementException
 
RunnableStatus - class org.apache.commons.jelly.tags.threads.RunnableStatus.
Represents the status of JellyThread.
RunnableStatus() - Constructor for class org.apache.commons.jelly.tags.threads.RunnableStatus
 
RunnableStatus(int) - Constructor for class org.apache.commons.jelly.tags.threads.RunnableStatus
 
release() - Method in class org.apache.commons.jelly.tags.threads.Mutex
 
run() - Method in class org.apache.commons.jelly.tags.threads.JellyThread
Run the thread
runningMutex - Variable in class org.apache.commons.jelly.tags.threads.JellyThread
While this thread is still running it owns this mutex

S

SUCCESS - Static variable in class org.apache.commons.jelly.tags.threads.RunnableStatus
 
SleepTag - class org.apache.commons.jelly.tags.threads.SleepTag.
Puts the current thread to sleep for some amount of time.
SleepTag() - Constructor for class org.apache.commons.jelly.tags.threads.SleepTag
 
SynchronizeTag - class org.apache.commons.jelly.tags.threads.SynchronizeTag.
Synchronize a block inside of a thread using the passed in mutex.
SynchronizeTag() - Constructor for class org.apache.commons.jelly.tags.threads.SynchronizeTag
 
searchForParent - Variable in class org.apache.commons.jelly.tags.threads.UseThreadTag
If true doTag will search for a parent thread to use if setThread was not called
set(int) - Method in class org.apache.commons.jelly.tags.threads.RunnableStatus
 
set(int, Exception) - Method in class org.apache.commons.jelly.tags.threads.RunnableStatus
 
setDaemon(boolean) - Method in class org.apache.commons.jelly.tags.threads.ThreadTag
Sets the thread to be a daemon thread if true
setFile(String) - Method in class org.apache.commons.jelly.tags.threads.ThreadTag
Set the file which is generated from the output
setFor(long) - Method in class org.apache.commons.jelly.tags.threads.SleepTag
How long to put the thread to sleep for
setGroup(List) - Method in class org.apache.commons.jelly.tags.threads.WaitForTag
Set the group of threads to wait on
setMutex(Object) - Method in class org.apache.commons.jelly.tags.threads.UseMutexTag
Set the mutex.
setName(String) - Method in class org.apache.commons.jelly.tags.threads.ThreadTag
Sets the name of the thread.
setNewContext(boolean) - Method in class org.apache.commons.jelly.tags.threads.ThreadTag
Should a new context be created for this thread?
setNotifyAll(boolean) - Method in class org.apache.commons.jelly.tags.threads.NotifyTag
If set to true the notify will notify all waiting threads
setOnlyWait(long) - Method in class org.apache.commons.jelly.tags.threads.WaitForTag
Set how long to wait for the thread to finish.
setPriority(int) - Method in class org.apache.commons.jelly.tags.threads.ThreadTag
Set the threads priority.
setSearchForParentThread(boolean) - Method in class org.apache.commons.jelly.tags.threads.UseThreadTag
If true the tag will search for a parent thread tag to "use" if no thread was set via setThread.
setStatus(String) - Method in class org.apache.commons.jelly.tags.threads.WaitForTag
Wait for a specific status.
setTarget(Runnable) - Method in class org.apache.commons.jelly.tags.threads.JellyThread
Set the Runnable target that will be run
setThread(Thread) - Method in class org.apache.commons.jelly.tags.threads.UseThreadTag
Set the thread to use in some way.
setThread(JellyThread) - Method in class org.apache.commons.jelly.tags.threads.WaitForTag
Which thread will this tag check the status of
setThreadGroup(List) - Method in class org.apache.commons.jelly.tags.threads.UseThreadTag
Set the thread group to "use".
setTimeout(long) - Method in class org.apache.commons.jelly.tags.threads.JoinTag
How long should the join wait.
setTimeout(long) - Method in class org.apache.commons.jelly.tags.threads.WaitTag
Set how long the wait should last.
setVar(String) - Method in class org.apache.commons.jelly.tags.threads.GroupTag
Set the variable name to store the thread group in
setVar(String) - Method in class org.apache.commons.jelly.tags.threads.MutexTag
Sets the variable name to export
setVar(String) - Method in class org.apache.commons.jelly.tags.threads.ThreadTag
Sets the variable name to export, optional
setXmlOutput(XMLOutput) - Method in class org.apache.commons.jelly.tags.threads.ThreadTag
Sets the destination of output
status - Variable in class org.apache.commons.jelly.tags.threads.JellyThread
Tracks the status of this thread
status - Variable in class org.apache.commons.jelly.tags.threads.RunnableStatus
 
status - Variable in class org.apache.commons.jelly.tags.threads.WaitForTag
 

T

TIMED_OUT - Static variable in class org.apache.commons.jelly.tags.threads.RunnableStatus
 
ThreadTag - class org.apache.commons.jelly.tags.threads.ThreadTag.
A tag that spawns the contained script in a separate thread.
ThreadTag() - Constructor for class org.apache.commons.jelly.tags.threads.ThreadTag
 
ThreadTag(boolean) - Constructor for class org.apache.commons.jelly.tags.threads.ThreadTag
 
ThreadsTagLibrary - class org.apache.commons.jelly.tags.threads.ThreadsTagLibrary.
Thread related tags
ThreadsTagLibrary() - Constructor for class org.apache.commons.jelly.tags.threads.ThreadsTagLibrary
 
TimeoutException - exception org.apache.commons.jelly.tags.threads.TimeoutException.
Can be thrown when the WaitForTag tries to wait for another thread to finish.
TimeoutException(String) - Constructor for class org.apache.commons.jelly.tags.threads.TimeoutException
 
target - Variable in class org.apache.commons.jelly.tags.threads.JellyThread
The Runnable target
thread - Variable in class org.apache.commons.jelly.tags.threads.ThreadTag
Keep a reference to the thread
thread - Variable in class org.apache.commons.jelly.tags.threads.UseThreadTag
The thread to use in some way.
thread - Variable in class org.apache.commons.jelly.tags.threads.WaitForTag
 
threadGroup - Variable in class org.apache.commons.jelly.tags.threads.UseThreadTag
Threads can be grouped and acted on as a set
threadNumber - Static variable in class org.apache.commons.jelly.tags.threads.ThreadTag
The current thread number.
threads - Variable in class org.apache.commons.jelly.tags.threads.GroupTag
The thread list
timeout - Variable in class org.apache.commons.jelly.tags.threads.JoinTag
how long to wait
timeout - Variable in class org.apache.commons.jelly.tags.threads.WaitTag
How long should the wait last.
toString() - Method in class org.apache.commons.jelly.tags.threads.RunnableStatus
 

U

UseMutexTag - class org.apache.commons.jelly.tags.threads.UseMutexTag.
Base class for tags that will "use" mutexes.
UseMutexTag() - Constructor for class org.apache.commons.jelly.tags.threads.UseMutexTag
 
UseThreadTag - class org.apache.commons.jelly.tags.threads.UseThreadTag.
Base class for tags that will "use" threads.
UseThreadTag() - Constructor for class org.apache.commons.jelly.tags.threads.UseThreadTag
 
useMutex(Object, XMLOutput) - Method in class org.apache.commons.jelly.tags.threads.NotifyTag
Perform the notify
useMutex(Object, XMLOutput) - Method in class org.apache.commons.jelly.tags.threads.SynchronizeTag
Synchronize on the mutex
useMutex(Object, XMLOutput) - Method in class org.apache.commons.jelly.tags.threads.UseMutexTag
Implement this method to do something with the mutex
useMutex(Object, XMLOutput) - Method in class org.apache.commons.jelly.tags.threads.WaitTag
Start waiting
useThread(Thread, XMLOutput) - Method in class org.apache.commons.jelly.tags.threads.InterruptTag
Interrupt one thread
useThread(Thread, XMLOutput) - Method in class org.apache.commons.jelly.tags.threads.JoinTag
Perform the thread join
useThread(Thread, XMLOutput) - Method in class org.apache.commons.jelly.tags.threads.UseThreadTag
Implement this method to do something with the thread
useThreadGroup(List, XMLOutput) - Method in class org.apache.commons.jelly.tags.threads.InterruptTag
Interrupt all of the threads in a group
useThreadGroup(List, XMLOutput) - Method in class org.apache.commons.jelly.tags.threads.JoinTag
Join all of the threads in a thread group
useThreadGroup(List, XMLOutput) - Method in class org.apache.commons.jelly.tags.threads.UseThreadTag
Implement this method to do something with the threadGroup

V

var - Variable in class org.apache.commons.jelly.tags.threads.GroupTag
Variable to place the thread group into
var - Variable in class org.apache.commons.jelly.tags.threads.MutexTag
The variable name of the mutex
var - Variable in class org.apache.commons.jelly.tags.threads.ThreadTag
Variable to place the thread into

W

WaitForTag - class org.apache.commons.jelly.tags.threads.WaitForTag.
This tag creates a dependency on another thread.
WaitForTag() - Constructor for class org.apache.commons.jelly.tags.threads.WaitForTag
 
WaitTag - class org.apache.commons.jelly.tags.threads.WaitTag.
This calls mutex.wait() on the mutex passed in via the "mutex" attribute.
WaitTag() - Constructor for class org.apache.commons.jelly.tags.threads.WaitTag
 
waitUntilDone(long) - Method in class org.apache.commons.jelly.tags.threads.JellyThread
Call this method from a different thread to wait until this thread is done.

X

xmlOutput - Variable in class org.apache.commons.jelly.tags.threads.ThreadTag
the destination of output

A C D E F G H I J K L M N O P R S T U V W X