Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
C
D
E
F
G
H
I
J
K
L
M
N
O
P
R
S
T
U
V
W
X
A
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
AVOIDED
- Static variable in class org.apache.commons.jelly.tags.threads.
RunnableStatus
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
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
GroupTag
- Class in
org.apache.commons.jelly.tags.threads
Represents a group of threads.
GroupTag()
- Constructor for class org.apache.commons.jelly.tags.threads.
GroupTag
H
howLong
- Variable in class org.apache.commons.jelly.tags.threads.
SleepTag
How long to sleep for
I
InterruptTag
- Class in
org.apache.commons.jelly.tags.threads
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 in
org.apache.commons.jelly.tags.threads
Adds some functionality to the jdk thread class.
JellyThread()
- Constructor for class org.apache.commons.jelly.tags.threads.
JellyThread
JoinTag
- Class in
org.apache.commons.jelly.tags.threads
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 in
org.apache.commons.jelly.tags.threads
A simple non-reentrant mutual exclusion lock.
Mutex()
- Constructor for class org.apache.commons.jelly.tags.threads.
Mutex
mutex
- Variable in class org.apache.commons.jelly.tags.threads.
UseMutexTag
The mutex to use in some way.
MutexTag
- Class in
org.apache.commons.jelly.tags.threads
Creates a mutex object and stores it in a variable
MutexTag()
- Constructor for class org.apache.commons.jelly.tags.threads.
MutexTag
N
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
NONE
- Static variable in class org.apache.commons.jelly.tags.threads.
RunnableStatus
notifyAll
- Variable in class org.apache.commons.jelly.tags.threads.
NotifyTag
True means mutex.notifyAll() will be called
NotifyTag
- Class in
org.apache.commons.jelly.tags.threads
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
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
release()
- Method in class org.apache.commons.jelly.tags.threads.
Mutex
RequirementException
- Exception in
org.apache.commons.jelly.tags.threads
Thrown by the
WaitForTag
when a requirement is not met.
RequirementException(String)
- Constructor for exception org.apache.commons.jelly.tags.threads.
RequirementException
run()
- Method in class org.apache.commons.jelly.tags.threads.
JellyThread
Run the thread
RunnableStatus
- Class in
org.apache.commons.jelly.tags.threads
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
runningMutex
- Variable in class org.apache.commons.jelly.tags.threads.
JellyThread
While this thread is still running it owns this mutex
S
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
SleepTag
- Class in
org.apache.commons.jelly.tags.threads
Puts the current thread to sleep for some amount of time.
SleepTag()
- Constructor for class org.apache.commons.jelly.tags.threads.
SleepTag
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
SUCCESS
- Static variable in class org.apache.commons.jelly.tags.threads.
RunnableStatus
SynchronizeTag
- Class in
org.apache.commons.jelly.tags.threads
Synchronize a block inside of a thread using the passed in mutex.
SynchronizeTag()
- Constructor for class org.apache.commons.jelly.tags.threads.
SynchronizeTag
T
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
ThreadsTagLibrary
- Class in
org.apache.commons.jelly.tags.threads
Thread related tags
ThreadsTagLibrary()
- Constructor for class org.apache.commons.jelly.tags.threads.
ThreadsTagLibrary
ThreadTag
- Class in
org.apache.commons.jelly.tags.threads
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
TIMED_OUT
- Static variable in class org.apache.commons.jelly.tags.threads.
RunnableStatus
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.
TimeoutException
- Exception in
org.apache.commons.jelly.tags.threads
Can be thrown when the
WaitForTag
tries to wait for another thread to finish.
TimeoutException(String)
- Constructor for exception org.apache.commons.jelly.tags.threads.
TimeoutException
toString()
- Method in class org.apache.commons.jelly.tags.threads.
RunnableStatus
U
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
UseMutexTag
- Class in
org.apache.commons.jelly.tags.threads
Base class for tags that will "use" mutexes.
UseMutexTag()
- Constructor for class org.apache.commons.jelly.tags.threads.
UseMutexTag
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
UseThreadTag
- Class in
org.apache.commons.jelly.tags.threads
Base class for tags that will "use" threads.
UseThreadTag()
- Constructor for class org.apache.commons.jelly.tags.threads.
UseThreadTag
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 in
org.apache.commons.jelly.tags.threads
This tag creates a dependency on another thread.
WaitForTag()
- Constructor for class org.apache.commons.jelly.tags.threads.
WaitForTag
WaitTag
- Class in
org.apache.commons.jelly.tags.threads
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
Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes