A D E F G I J K M N O R S T U W

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
 

D

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
 

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

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
 

K

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

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
 

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
 

O

org.apache.commons.jelly.tags.threads - package org.apache.commons.jelly.tags.threads
A library for processing Jelly scripts using multiple threads.

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

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
 
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

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
 
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

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.

A D E F G I J K M N O R S T U W

Copyright © 2002-2006 Apache Software Foundation. All Rights Reserved.