Hi,
1) Is there anyway to retrieve a collection of all of the keys for a
particular
cache region?
2) What is the easiest way to determine the size (in bytes) of particular
cache region.
3) I am having problems building new JCS now that it has been moved out of
stratum and is a Maven project.
[javac]
C:\Java\jakarta-turbine-jcs\src\java\org\apache\jcs\JCSComponent.jav
a:18: org.apache.jcs.JCSComponent should be declared abstract; it does not
defin
e configure(org.apache.stratum.configuration.Configuration) in
org.apache.jcs.JC
SComponent
[javac] public class JCSComponent
[javac] ^
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -deprecation for details.
[javac] 1 error
BUILD FAILED
The issue is coming from the fact that Maven needs to use the old stratum.
This in turn causes the JCS build to puke do to the fact it expects the
interface org.apache.stratum.lifecycle.Configurable's configure() method to
require org.apache.commons.configuration.Configuration as a parameter.
However, Maven is using an older version of stratum whose Configurable
interfaces configure() method is still using the Configuration definition
that was in the old stratum and not the one in commons. So I have kinda run
into a chicken or the egg paradox trying to build new JCS with the available
Maven dist and stratum from the CVS.
Will building Maven from the current CVS allow me in turn build the new JCS?
I know this is REALLY confusing, I apologize.
Thanks,
Scott