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 is the difference between TreeCache and TreeCacheAop?

0
Posted

What is the difference between TreeCache and TreeCacheAop?

0

Think of TreeCacheAop as a TreeCache on steroid. 🙂 Seriously, both are cache store. However, while TreeCache only provides pure object reference storage (e.g., put(FQN fqn, Objecy key, Object value)), TreeCacheAop goes beyond that and performs fine-grained field level replication object mapping and relationship management for a user behind the scene. As a result, if you have a complex object systems that you would like to cache, you can have TreeCacheAop manages for you. You simply treat your object systems as they are residing in-memory, e.g., use your regular POJO methods without worrying about cache management. Furthermore, this is true in replication mode as well.

Related Questions

What is your question?

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

Experts123