cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vadim Gritsenko <>
Subject Re: Switching cache to Persistent Store
Date Mon, 11 Aug 2003 20:57:01 GMT
Upayavira wrote:

> Anyway, I've done some more research, including downloading the source 
> for Avalon (for the first time!) and stepped through the code for the 
> Store.
> I don't know if this is a problem, but in AbstractJispFilesystemStore, 
> the get and store methods don't seem to match up:
> get():
> value =, m_Index);
> and
> store():
> KeyObject[] keyArray = new KeyObject[1];
>                 keyArray[0] = this.wrapKeyObject(key);
>                 m_Database.write(keyArray, (Serializable) value);
> So one uses a wrapped key object, and the other uses an array of 
> wrapped key objects with one element. Does this mean it's not using 
> the same key, and thus can never get at stuff in the persistent store? 
> Is this correct?

That's Ok.

> [I've still to work out how to compile Avalon, so I can't try it 
> myself yet!]

To compile avalon you need maven... Or you can simply put avalon 
framework jar in the place where it should be and simply run "ant" in 
avalon-excalibur/store directory.


View raw message