Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

What happens when my “aspectized” POJO has field members that are of Collection class ?

0
Posted

What happens when my “aspectized” POJO has field members that are of Collection class ?

0

When a user puts a POJO into the cache through the call putObject , it will recursively map the field members into the cache store as well. When the field member is of a Collection class (e.g., List, Set, or Map), PojoCache will first map the collection into cache. Then, it will swap out dynamically the field reference with an corresponding proxy reference. This is necessary so that an internal update on the field member will be intercepted by the cache.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.