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? --~--~---------~--~----~------------~-------~--~----~ 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 [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/transfer-dev?hl=en -~----------~----~----~----~------~----~------~--~---
