com.msi.threadpuddle
Class State

java.lang.Object
  |
  +--com.msi.threadpuddle.State

public class State
extends java.lang.Object

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

threadCount

private int threadCount

pendingJobs

private int pendingJobs

jobsInProgress

private int jobsInProgress
Constructor Detail

State

public State()
Method Detail

toString

public java.lang.String toString()
State - create a String presentation of the puddle state.

Overrides:
toString in class java.lang.Object
Returns:
String representation of the puddle state.

getThreadCount

public int getThreadCount()
Gets the value of threadCount

Returns:
the value of threadCount

setThreadCount

public void setThreadCount(int argThreadCount)
Sets the value of threadCount

Parameters:
argThreadCount - Value to assign to this.threadCount

getPendingJobs

public int getPendingJobs()
Gets the value of pendingJobs

Returns:
the value of pendingJobs

setPendingJobs

public void setPendingJobs(int argPendingJobs)
Sets the value of pendingJobs

Parameters:
argPendingJobs - Value to assign to this.pendingJobs

getJobsInProgress

public int getJobsInProgress()
Gets the value of jobsInProgress

Returns:
the value of jobsInProgress

setJobsInProgress

public void setJobsInProgress(int argJobsInProgress)
Sets the value of jobsInProgress

Parameters:
argJobsInProgress - Value to assign to this.jobsInProgress


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