简体   繁体   English

在Infinispan中将可缓存注释与树缓存一起使用

[英]Using Cacheable annotation with treecache in Infinispan

I am attempting to use a TreeCache Infinispan implementation and I want to see if it will work with Spring Cacheable annotations. 我正在尝试使用TreeCache Infinispan实现,我想看看它是否可以与Spring Cacheable注释一起使用。 I have a working example with key/value storage, but I can't find examples on how to do this with a tree storage mechanism. 我有一个有关键/值存储的工作示例,但是找不到有关如何使用树存储机制执行此操作的示例。

I saw this post, but I can't find any documentation on this aspectj annotation: 我看到了这篇文章,但是找不到有关aspectj注释的任何文档:

Wrong working infinispan tree cache Infinispan树缓存工作错误

Infinispan tree cache is no longer supported and has now been removed. Infinispan树缓存不再受支持,现已被删除。 Infinispan was created as a spin-off of JBoss Cache, that used a tree structure for keeping things in memory. Infinispan的创建是JBoss Cache的衍生产品,它使用树结构将内容保存在内存中。 We temporarily supported tree cache in Infinispan as a way to easily migrate users from JBoss Cache to Infinispan. 我们暂时支持Infinispan中的树缓存,以方便地将用户从JBoss Cache迁移到Infinispan。

These days, if you want a tree structure, either you maintain it or you use Hibernate OGM which takes care of maintaining a complex object data structure inside Infinispan. 如今,如果您想要树状结构,则可以维护它,也可以使用Hibernate OGM来维护Infinispan内部的复杂对象数据结构。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM