Update of /cvsroot/proxool/proxool/src/java/org/logicalcobwebs/proxool/admin
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11208/src/java/org/logicalcobwebs/proxool/admin
Modified Files:
Admin.java Snapshot.java SnapshotIF.java
Log Message:
Make connectionCount available to statistics
Index: Admin.java
===================================================================
RCS file: /cvsroot/proxool/proxool/src/java/org/logicalcobwebs/proxool/admin/Admin.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** Admin.java 27 Oct 2003 20:26:19 -0000 1.7
--- Admin.java 2 Oct 2005 12:32:01 -0000 1.8
***************
*** 147,150 ****
--- 147,151 ----
s.setRefusedCount(cps.getConnectionsRefusedCount());
s.setConnectionInfos(connectionInfos);
+ s.setConnectionCount(cps.getConnectionCount());
/*
***************
*** 169,172 ****
--- 170,176 ----
Revision history:
$Log$
+ Revision 1.8 2005/10/02 12:32:01 billhorsman
+ Make connectionCount available to statistics
+
Revision 1.7 2003/10/27 20:26:19 billhorsman
connectionReturned() and connectionRefused() calls will now log any errors and continue rather than
Index: Snapshot.java
===================================================================
RCS file: /cvsroot/proxool/proxool/src/java/org/logicalcobwebs/proxool/admin/Snapshot.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** Snapshot.java 10 Mar 2003 15:26:51 -0000 1.3
--- Snapshot.java 2 Oct 2005 12:32:01 -0000 1.4
***************
*** 43,46 ****
--- 43,48 ----
private Collection connectionInfos;
+ private long connectionCount;
+
/**
* @param snapshotDate see {@link org.logicalcobwebs.proxool.admin.SnapshotIF#getSnapshotDate}
***************
*** 190,193 ****
--- 192,202 ----
}
+ public long getConnectionCount() {
+ return connectionCount;
+ }
+
+ public void setConnectionCount(long connectionCount) {
+ this.connectionCount = connectionCount;
+ }
}
***************
*** 196,199 ****
--- 205,211 ----
Revision history:
$Log$
+ Revision 1.4 2005/10/02 12:32:01 billhorsman
+ Make connectionCount available to statistics
+
Revision 1.3 2003/03/10 15:26:51 billhorsman
refactoringn of concurrency stuff (and some import
Index: SnapshotIF.java
===================================================================
RCS file: /cvsroot/proxool/proxool/src/java/org/logicalcobwebs/proxool/admin/SnapshotIF.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** SnapshotIF.java 3 Mar 2003 11:11:59 -0000 1.2
--- SnapshotIF.java 2 Oct 2005 12:32:01 -0000 1.3
***************
*** 94,97 ****
--- 94,99 ----
*/
boolean isDetail();
+
+ long getConnectionCount();
}
***************
*** 100,103 ****
--- 102,108 ----
Revision history:
$Log$
+ Revision 1.3 2005/10/02 12:32:01 billhorsman
+ Make connectionCount available to statistics
+
Revision 1.2 2003/03/03 11:11:59 billhorsman
fixed licence
|