What is the status of this patch? Paul Spencer
Paul Spencer wrote: > TurbineGlobalCacheService defines getNumberOfObjects(), but it is not > declared in the interface GlobalCacheService. I would like to use > getNumberOfObjects() in the Jetspeed project to display cache size > information. The patch belows declares getNumberOfObjects() in the > interface. > > Paul Spencer > > Index: GlobalCacheService.java > =================================================================== > RCS file: > >/home/cvs/jakarta-turbine-2/src/java/org/apache/turbine/services/cache/GlobalCacheService.java,v > > > retrieving revision 1.1.1.1 > diff -c -r1.1.1.1 GlobalCacheService.java > *** GlobalCacheService.java 16 Aug 2001 05:08:50 -0000 1.1.1.1 > --- GlobalCacheService.java 3 Jan 2002 03:10:56 -0000 > *************** > *** 101,104 **** > --- 101,111 ---- > */ > public int getCacheSize() > throws IOException; > + > + /** > + * Returns the number of objects in the cache. > + * @return int representing current number of objects in cache > + */ > + public int getNumberOfObjects(); > + > } > > > -- > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
