Author: toad
Date: 2008-04-15 18:09:33 +0000 (Tue, 15 Apr 2008)
New Revision: 19355
Modified:
trunk/freenet/src/freenet/support/PooledExecutor.java
Log:
javadocs
Modified: trunk/freenet/src/freenet/support/PooledExecutor.java
===================================================================
--- trunk/freenet/src/freenet/support/PooledExecutor.java 2008-04-15
18:03:59 UTC (rev 19354)
+++ trunk/freenet/src/freenet/support/PooledExecutor.java 2008-04-15
18:09:33 UTC (rev 19355)
@@ -15,7 +15,9 @@
*/
public class PooledExecutor implements Executor {
+ /** All threads running or waiting */
private final ArrayList[] runningThreads /* <MyThread> */ = new
ArrayList[NativeThread.JAVA_PRIORITY_RANGE + 1];
+ /** Threads waiting for a job */
private final ArrayList[] waitingThreads /* <MyThread> */ = new
ArrayList[runningThreads.length];
long[] threadCounter = new long[runningThreads.length];
private long jobCount;