简体   繁体   English

如何使用c#.net在Apache Ignite中停止服务器(节点)

[英]How to stop server(node) in Apache Ignite using c# .net

i'm created simple c# application with 我创建了简单的c#应用程序

var ignite = Ignition.Start(); var ignite = Ignition.Start();

And also ignite instance with next operation performed not executing. 并且还执行下一个未执行的操作的实例。

There is way to stop node in c#.net after stop application because in topology on console after stop and start application again show with one increment server.And also heap memory taking 3.4 GB per server. 在停止应用程序后,有一种方法可以在c#.net中停止节点,因为在停止和启动应用程序后的控制台上的拓扑结构再次显示一个增量服务器。并且堆内存每个服务器需要3.4 GB。

please tell me about ignite any configuration to achieve same. 请告诉我有关点燃任何配置以实现相同的功能。

Thanks 谢谢

您可以通过两种方式停止点燃实例( IIgnite ):

  • Ignition.Stop(ignite);
  • ignite.Dispose();

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

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