Apache Ignite缓存错误:由java.lang.illegalstateexception引起:缓存已关闭或破坏:cacheName

编程入门 行业动态 更新时间:2024-10-21 11:48:09
本文介绍了Apache Ignite缓存错误:由java.lang.illegalstateexception引起:缓存已关闭或破坏:cacheName的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

有时在应用程序启动时会出现异常,在应用程序运行期间会更频繁.此外,应用程序启动缓慢.

解决方案

您的客户端节点很可能由于某种原因而断开连接.您可以通过在客户端上预订 EVT_CLIENT_NODE_DISCONNECTED 事件来进行检查(有关如何执行此操作的更多信息,请参见[1]).

如果这种情况经常发生,则说明存在一些严重的问题.我要检查的第一件事是内存.确保您没有用完它,也没有长时间的GC暂停.

[1] apacheignite.readme.io/docs/events

The exception sometimes comes on the start of application,more frequently during the performance of the application .Moreover,the application starts slowly.

解决方案

Most likely your client node disconnects for some reason. You can check this by subscribing to EVT_CLIENT_NODE_DISCONNECTED event on the client (see [1] for more info on how to do this).

If this happens frequently, then there are some serious issues. The first thing I would check is the memory. Make sure that you're not running out of it and that you do not experience long GC pauses.

[1] apacheignite.readme.io/docs/events

更多推荐

Apache Ignite缓存错误:由java.lang.illegalstateexception引起:缓存已关闭或破坏:cacheName

本文发布于:2023-11-01 01:33:55,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1547860.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:缓存   错误   Ignite   Apache   cacheName

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!