Hazelcast单节点快速启动进行调试 [英] Hazelcast single node fast startup for debugging

查看:85
本文介绍了Hazelcast单节点快速启动进行调试的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在编写一个使用Hazelcast的应用程序。我的应用启动速度真的很慢,因为Hazelcast会在启动时尝试与网络上的其他节点通信。这对于生产来说很好,但是当我执行单节点调试时,确实会减慢我的edit-compile-run-debug周期。

I'm writing an app that uses Hazelcast. My app is really slow to start because Hazelcast tries to talk to other nodes on the network on startup. This is fine for production, but when I'm doing single-node debugging it really slows down my edit-compile-run-debug cycle.

是否存在Hazelcast设置告诉它只有一个节点,所以请快速启动并且不要打扰网络的其余部分?

Is there a Hazelcast setting that tells it that there's only one node so please start quickly and don't bother pinging the rest of the network?

推荐答案

您可以禁用加入方法:

    <join>
        <multicast enabled="false">
        </multicast>
        <tcp-ip enabled="false">
        </tcp-ip>
        <aws enabled="false">
        </aws>
    </join>

这篇关于Hazelcast单节点快速启动进行调试的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆