Should there be anything in there? Are you reloading your CB app on every request?
What platform are you on? Mark On Mon, Jun 29, 2009 at 10:33 AM, whostheJBoss <dotfus...@changethings.org>wrote: > > I'm having an issue with the cache and I can't seem to figure out what > the problem is. > > I'm using ColdBox / ColdSpring/ Transfer and loading Transfer as a > ColdSpring Bean into the instance scope of one of my handlers from the > ColdBox cache. > > So: > > <!-- Define Transfer to be used as a bean --> > <bean id="Transfer" factory-bean="ColdboxOCM" factory-method="get"> > <constructor-arg name="objectKey"><value>Transfer</value></ > constructor-arg> > </bean> > > I then call instance.Transfer.get() or save(), etc inside of the > handler and it works fine. It loads a little slowly the first time > while creating the object, but subsequent requests load fast, so I'm > assuming they are cached. > > However, if I do this: > > rc.cacheTest = instance.Transfer.getCacheMonitor().getCachedClasses(); > > And then dump the rc.cacheTest variable it always shows up as an empty > array. > > instance.Transfer.getCacheMonitor().getTotalCalculatedSize() always > shows up as 0 > > Why is my Transfer cache not showing anything? > > > -- E: mark.man...@gmail.com T: http://www.twitter.com/neurotic W: www.compoundtheory.com --~--~---------~--~----~------------~-------~--~----~ Before posting questions to the group please read: http://groups.google.com/group/transfer-dev/web/how-to-ask-support-questions-on-transfer You received this message because you are subscribed to the Google Groups "transfer-dev" group. To post to this group, send email to transfer-dev@googlegroups.com To unsubscribe from this group, send email to transfer-dev-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/transfer-dev?hl=en -~----------~----~----~----~------~----~------~--~---