|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--com.msi.threadpuddle.State
State holds the state of the
ThreadPuddle.
| Field Summary | |
private int |
jobsInProgress
|
private int |
pendingJobs
|
private int |
threadCount
|
| Constructor Summary | |
State()
|
|
| Method Summary | |
int |
getJobsInProgress()
Gets the value of jobsInProgress |
int |
getPendingJobs()
Gets the value of pendingJobs |
int |
getThreadCount()
Gets the value of threadCount |
void |
setJobsInProgress(int argJobsInProgress)
Sets the value of jobsInProgress |
void |
setPendingJobs(int argPendingJobs)
Sets the value of pendingJobs |
void |
setThreadCount(int argThreadCount)
Sets the value of threadCount |
java.lang.String |
toString()
State - create a String presentation of
the puddle state. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
private int threadCount
private int pendingJobs
private int jobsInProgress
| Constructor Detail |
public State()
| Method Detail |
public java.lang.String toString()
State - create a String presentation of
the puddle state.
toString in class java.lang.ObjectString representation of the puddle state.public int getThreadCount()
public void setThreadCount(int argThreadCount)
argThreadCount - Value to assign to this.threadCountpublic int getPendingJobs()
public void setPendingJobs(int argPendingJobs)
argPendingJobs - Value to assign to this.pendingJobspublic int getJobsInProgress()
public void setJobsInProgress(int argJobsInProgress)
argJobsInProgress - Value to assign to this.jobsInProgress
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||