PageManager's getAllPages() method. The first time the plugin is called
I'm predictably not getting the complete list of pages, which is not
surprising given the documentation, just annoying. But given the
significant performance benefit of subsequently using findCreated() I'm
thinking that using getAllPages() initially, then findCreated() after
things have settled down.

What do you mean by "First time"?  During RefMgr startup?

Because by the time RefMgr startup is complete, findCreated() *should* return a list of all pages, though it does not necessarily reflect the latest state of the repository.

Does anyone know of a flag in the code that would indicate when to
switch over use to findCreated()? I'd just check the flag and choose
the source accordingly.

There is no such flag.

Could you BTW check the latest SVN version if that helps you in any way? It has some speedups in the startup which *might* help you out by making sure that findCreated() is more up to date. Just make sure you empty the workdir before you start.

/Janne

Reply via email to