Hello Alex, yes, I did read it, but it seems I've missed a clear mention to the possibility of run it concurrently (and the code example given, lead me to think that the repo should be stopped, because with an in-JVM - model 1 - repo, not more than one app can access the repo at the same time) with a live repository.
Thanks for clearing that out for me, and sorry if I gave you the impression of being lazy (you can rest assured I'm not). Have a nice WE! On Fri, Apr 29, 2011 at 10:27 AM, Alexander Klimetschek <[email protected]> wrote: > On 29.04.11 14:53, "Fabián Mandelbaum" <[email protected]> wrote: >>When you say 'on a scheduled basis' does this mean that you have to >>stop the repo, run the gc little example (probably adapted to one's >>repo config) and then start the repo again? Or can GC be run as a >>thread (that wakes up from time to time, thus 'on a scheduled basis' >>too) while the repo is still running? > > Have you read > http://wiki.apache.org/jackrabbit/DataStore#Data_Store_Garbage_Collection > (first hit in Justin's query)? > > Yes, you can run it while the repo is running and you can do it in a > separate thread. > > Regards, > Alex > > -- > Alexander Klimetschek > Developer // Adobe (Day) // Berlin - Basel > -- Fabián Mandelbaum IS Engineer
