asmuts 2004/07/15 18:28:31
Modified: src/java/org/apache/jcs/auxiliary/javagroups
JavaGroupsCache.java
src/java/org/apache/jcs/engine/behavior ICache.java
Log:
added stats
Revision Changes Path
1.2 +12 -2
jakarta-turbine-jcs/src/java/org/apache/jcs/auxiliary/javagroups/JavaGroupsCache.java
Index: JavaGroupsCache.java
===================================================================
RCS file:
/home/cvs/jakarta-turbine-jcs/src/java/org/apache/jcs/auxiliary/javagroups/JavaGroupsCache.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- JavaGroupsCache.java 14 May 2004 04:59:40 -0000 1.1
+++ JavaGroupsCache.java 16 Jul 2004 01:28:31 -0000 1.2
@@ -351,7 +351,17 @@
public void block() { }
- // ---------------------------------------------------------- inner classes
+ /**
+ * getStats
+ *
+ * @return String
+ */
+ public String getStats()
+ {
+ return "";
+ }
+
+ // ---------------------------------------------------------- inner classes
/**
* Object for messages, wraps the command type (update, remove, or remove
1.6 +4 -1
jakarta-turbine-jcs/src/java/org/apache/jcs/engine/behavior/ICache.java
Index: ICache.java
===================================================================
RCS file:
/home/cvs/jakarta-turbine-jcs/src/java/org/apache/jcs/engine/behavior/ICache.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- ICache.java 15 Apr 2004 19:22:53 -0000 1.5
+++ ICache.java 16 Jul 2004 01:28:31 -0000 1.6
@@ -52,6 +52,9 @@
/** Returns the cache status. */
public int getStatus();
+ /** Returns the cache stats. */
+ public String getStats();
+
/** Returns the cache name. */
public String getCacheName();
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]