java - EHCache JMS 复制限制线程数?

标签 java jms ehcache

本质上是 this question 的这一部分:

-> It seems ehcache/ hibernate creates 1 cache per Entity. This is fine, however when replication is in place it create 1 thread / cache to replicate. Is this the intended behavious ? As our domain is big, it creates about 300 threads, which seems to me really big

是否没有选项可以池化或合并复制线程的数量?

最佳答案

有关复制的代码多年来没有改变,因此限制仍然存在。如 accepted answer 中所述对于链接的问题,您必须自己编写所需的代码。

现在,Ehcache 认为复制已被弃用,并支持 Terracotta 集群,以提供一些一致性保证。详细信息超出了问题的范围。

关于java - EHCache JMS 复制限制线程数?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42227614/

相关文章:

java - 获取 java.lang.StringIndexOutOfBoundsException

java - JMS 主题消息大小

java - JMS 消息传递性能 : Lots of Topics/Queues vs. 广泛过滤(消息选择器)

java - G1 收集器不执行完整 GC

java - 如何启用 Ehcache 3.x JSR-107 MBean 操作?

java - 将流写入 Excel 文件

java - JFreeChart 在 Eclipse 中不显示任何内容

java - JMS主题上下文查找问题

java - 如何在 spring xml 文件上启用 ehcache 统计信息

java - 何时在 LibGDX 中处置屏幕?