Update of /cvsroot/freenet/freenet/src/freenet/thread
In directory sc8-pr-cvs1:/tmp/cvs-serv4274/src/freenet/thread
Modified Files:
ThreadStatusSnapshot.java
Log Message:
Renamed ThreadCount to PooledThreadCount to better reflect what it actually is used for
Index: ThreadStatusSnapshot.java
===================================================================
RCS file: /cvsroot/freenet/freenet/src/freenet/thread/ThreadStatusSnapshot.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- ThreadStatusSnapshot.java 29 Sep 2003 07:52:03 -0000 1.1
+++ ThreadStatusSnapshot.java 29 Sep 2003 07:53:40 -0000 1.2
@@ -20,7 +20,7 @@
*/
public class ThreadStatusSnapshot {
Hashtable consumers = new Hashtable();
- ThreadCount tc = new ThreadCount();
+ PoolThreadCount tc = new PoolThreadCount();
group root;
public ThreadStatusSnapshot(){
ThreadGroup tg = Thread.currentThread().getThreadGroup().getParent();
@@ -37,7 +37,7 @@
return consumers;
}
/* Returns the total number of/the number of available threads in freds
threadPool*/
- public ThreadCount getPoolThreadCounts(){
+ public PoolThreadCount getPoolThreadCounts(){
return tc;
}
private void countPooledThread(PooledThread t) { //TODO: Wouldn't it be better
to just ask the threadpool for the information counted here?
@@ -59,7 +59,7 @@
}
con.number++;
}
- public static class ThreadCount {
+ public static class PoolThreadCount {
int totalPooled = 0;
int pooledAvailable = 0;
}
_______________________________________________
cvs mailing list
[EMAIL PROTECTED]
http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/cvs