|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectscone.robot.PageLoaderPoolStats
public class PageLoaderPoolStats
PageLoaderPoolStaats is part of a threadpool implementation described in the article
"Why Thread Pools are Important in Java" by Tarak Modi, Java Pro magazine.
http://www.devx.com/upload/free/features/javapro/2000/10oct00/tm0010/tm0010.asp
This class holds the statistics of the
Thread Pool from which it was returned
| Field Summary | |
|---|---|
int |
jobsInProgress
Jobs currently running |
int |
maxIdleTime
The maximum time a threa is allowed to be idle before it is stopped |
int |
maxThreads
Maximum number of threads the pool is allowed to create |
int |
minThreads
Minimum number of running threads |
int |
numThreads
Number of threads in the pool |
int |
pendingJobs
Jobs in the queue waiting for execution |
| Constructor Summary | |
|---|---|
PageLoaderPoolStats()
|
|
| Method Summary | |
|---|---|
java.lang.String |
toString()
Formats a string with the statistics |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public int maxThreads
public int minThreads
public int maxIdleTime
public int numThreads
public int pendingJobs
public int jobsInProgress
| Constructor Detail |
|---|
public PageLoaderPoolStats()
| Method Detail |
|---|
public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||