RE: [coldbox:17595] [coldbox 3.5.3] cachebox monitor debug pane

How can I display the number of hits to cache for singletons? The number of reaps & collections?

I still don’t think you understand. The singleton scope is not a cache, nor is it managed by cachebox.

To directly answer your question, there is no such functionality out of the box as (other than debug logging) WireBox does not track access to mappings. All that can probably be built on top of WireBox using interception points.

Thanks!

~Brad

ColdBox Platform Evangelist
Ortus Solutions, Corp

E-mail: brad@coldbox.org
ColdBox Platform: http://www.coldbox.org
Blog: http://www.codersrevolution.com

OK.

Just to clarify, Cachebox is the layer that manages cache stores and their policies. The singleton scope in Wirebox is just a place where the singletons live? And since all of Wirebox is in my application scope, its in memory?

You got it!

signature0.jpg

Luis F. Majano
CEO
Ortus Solutions, Corp
www.ortussolutions.com

ColdBox Platform: http://www.coldbox.org
Linked In: http://www.linkedin.com/pub/3/731/483
Blog: http://www.luismajano.com
IECFUG Manager: http://www.iecfug.com

Social: twitter.com/lmajano facebook.com/lmajano