A C D F G I J L P R S T

A

addJob(Runnable) - Method in class com.msi.threadpuddle.ThreadPuddleImpl
addJob put a new job into the work queue and notify the next available thread.
addJob(Runnable) - Method in interface com.msi.threadpuddle.ThreadPuddle
addJob - places the supplied job into the work queue, signalling any available thread to check the queue.

C

com.msi.threadpuddle - package com.msi.threadpuddle
 

D

debug - Variable in class com.msi.threadpuddle.ThreadPuddleImpl
 

F

findMe() - Method in class com.msi.threadpuddle.ThreadPuddleImpl
findMe called by a pool thread to find itself in the vector of available threads.
firstIdleThread() - Method in class com.msi.threadpuddle.ThreadPuddleImpl
firstIdleThread - Called by the thread pool to find the first idle thread.

G

getJob() - Method in class com.msi.threadpuddle.Paddle
Get the value of job.
getJob() - Method in class com.msi.threadpuddle.ThreadPuddleImpl
getJob retrieve the next available job.
getJobsInProgress() - Method in class com.msi.threadpuddle.State
Gets the value of jobsInProgress
getPendingJobs() - Method in class com.msi.threadpuddle.State
Gets the value of pendingJobs
getStartTime() - Method in class com.msi.threadpuddle.Statistics
Get the value of startTime.
getStartTime() - Method in class com.msi.threadpuddle.Paddle
Get the value of startTime.
getState() - Method in class com.msi.threadpuddle.ThreadPuddleImpl
getState return the current snapshot of the puddle state.
getState() - Method in interface com.msi.threadpuddle.ThreadPuddle
getState - return the current puddle status.
getStatistics() - Method in class com.msi.threadpuddle.Paddle
getStatistics retrieve the current job execution statistics.
getStopTime() - Method in class com.msi.threadpuddle.Statistics
Get the value of stopTime.
getStopTime() - Method in class com.msi.threadpuddle.Paddle
Get the value of stopTime.
getSubmitTime() - Method in class com.msi.threadpuddle.Statistics
Get the value of submitTime.
getSubmitTime() - Method in class com.msi.threadpuddle.Paddle
Get the value of submitTime.
getThread() - Method in class com.msi.threadpuddle.Piddle
Get the value of thread.
getThreadCount() - Method in class com.msi.threadpuddle.State
Gets the value of threadCount

I

idle - Variable in class com.msi.threadpuddle.Piddle
 
idleMe() - Method in class com.msi.threadpuddle.ThreadPuddleImpl
idleMe mark the current thread as idle.
idleThreads() - Method in class com.msi.threadpuddle.ThreadPuddleImpl
 
isIdle() - Method in class com.msi.threadpuddle.Piddle
Get the value of idle.

J

job - Variable in class com.msi.threadpuddle.Paddle
 
jobCount() - Method in class com.msi.threadpuddle.ThreadPuddleImpl
 
jobsInProgress - Variable in class com.msi.threadpuddle.State
 

L

lock - Variable in class com.msi.threadpuddle.PiddleThread
Lock on the containing puddle for this piddle.

P

Paddle - class com.msi.threadpuddle.Paddle.
Paddle contains the runnable job to perform and statistics related to running the job.
Paddle(Runnable) - Constructor for class com.msi.threadpuddle.Paddle
Creates a new Paddle instance for the supplied job.
pendingJobs - Variable in class com.msi.threadpuddle.ThreadPuddleImpl
 
pendingJobs - Variable in class com.msi.threadpuddle.State
 
Piddle - class com.msi.threadpuddle.Piddle.
Piddle contains a thread and 'run' state for the thread supporting allocation of threads to jobs.
Piddle(Thread) - Constructor for class com.msi.threadpuddle.Piddle
Creates a new Piddle instance.
PiddleThread - class com.msi.threadpuddle.PiddleThread.
PiddleThread every pooled thread is an instance of PiddleThread.
PiddleThread(ThreadPuddleImpl) - Constructor for class com.msi.threadpuddle.PiddleThread
PiddleThread Pass in the pool instance for synchronization.

R

removeMe() - Method in class com.msi.threadpuddle.ThreadPuddleImpl
removeMe called by a pool thread to remove itself from the vector of available threads
run() - Method in class com.msi.threadpuddle.PiddleThread
run - This is where all the action is...

S

setIdle(boolean) - Method in class com.msi.threadpuddle.Piddle
Set the value of idle.
setJob(Runnable) - Method in class com.msi.threadpuddle.Paddle
Set the value of job.
setJobsInProgress(int) - Method in class com.msi.threadpuddle.State
Sets the value of jobsInProgress
setPendingJobs(int) - Method in class com.msi.threadpuddle.State
Sets the value of pendingJobs
setStartTime() - Method in class com.msi.threadpuddle.Paddle
Set the value of startTime to current system millis.n
setStartTime(long) - Method in class com.msi.threadpuddle.Statistics
Set the value of startTime.
setStartTime(long) - Method in class com.msi.threadpuddle.Paddle
Set the value of startTime.
setStopTime() - Method in class com.msi.threadpuddle.Paddle
Set the value of stopTime to current system millis.
setStopTime(long) - Method in class com.msi.threadpuddle.Statistics
Set the value of stopTime.
setStopTime(long) - Method in class com.msi.threadpuddle.Paddle
Set the value of stopTime.
setSubmitTime(long) - Method in class com.msi.threadpuddle.Statistics
Set the value of submitTime.
setSubmitTime(long) - Method in class com.msi.threadpuddle.Paddle
Set the value of submitTime.
setThread(Thread) - Method in class com.msi.threadpuddle.Piddle
Set the value of thread.
setThreadCount(int) - Method in class com.msi.threadpuddle.State
Sets the value of threadCount
startTime - Variable in class com.msi.threadpuddle.Statistics
 
startTime - Variable in class com.msi.threadpuddle.Paddle
 
State - class com.msi.threadpuddle.State.
State holds the state of the ThreadPuddle.
State() - Constructor for class com.msi.threadpuddle.State
 
Statistics - class com.msi.threadpuddle.Statistics.
Statistics - job execution statistics.
Statistics(long, long, long) - Constructor for class com.msi.threadpuddle.Statistics
Creates a new Statistics instance.
stopTime - Variable in class com.msi.threadpuddle.Statistics
 
stopTime - Variable in class com.msi.threadpuddle.Paddle
 
submitTime - Variable in class com.msi.threadpuddle.Statistics
 
submitTime - Variable in class com.msi.threadpuddle.Paddle
 

T

thread - Variable in class com.msi.threadpuddle.Piddle
 
threadCount - Variable in class com.msi.threadpuddle.ThreadPuddleImpl
 
threadCount - Variable in class com.msi.threadpuddle.State
 
ThreadPuddle - interface com.msi.threadpuddle.ThreadPuddle.
The interface to be implemented by the thread puddle.
ThreadPuddleImpl - class com.msi.threadpuddle.ThreadPuddleImpl.
 
ThreadPuddleImpl(Properties) - Constructor for class com.msi.threadpuddle.ThreadPuddleImpl
ThreadPuddleImpl - create a new ThreadPuddleImpl initializing state from the supplied properties.
threads - Variable in class com.msi.threadpuddle.ThreadPuddleImpl
 
toString() - Method in class com.msi.threadpuddle.Statistics
toString - representation of the current statistics.
toString() - Method in class com.msi.threadpuddle.State
State - create a String presentation of the puddle state.

A C D F G I J L P R S T

Copyright © 2001-2002 MileStone Solutions, Inc. All Rights Reserved.