GemFire 9 替代 GemfireUtilLauncher

GemFire 9 replacement of GemfireUtilLauncher

是否有 GemfireUtilLauncher 之前在以下位置找到的替代品: com.gemstone.gemfire.internal.GemFireUtilLauncher?

以下文档应更新为: org.apache.geode.X.X 但在这些新版本中不存在这样的 GemfireUtilLauncher 并且似乎没有包含它的 jar 文件(例如 geode-core 而不是 gemfire-core)。

我能找到的最接近 class 的示例在下面 link 但似乎没有关于最近更改的任何文档...

http://www.programcreek.com/java-api-examples/index.php?source_dir=incubator-geode-master/gemfire-core/src/main/java/com/gemstone/gemfire/internal/GemFireUtilLauncher.java

在 Apache Geode 1.0.0-incubating.M1 之后删除了 GemfireUtilLauncher class。

NOTE: If you are not aware of this, Apache Geode is the open source core of Pivotal GemFire.

这里要记住一些事情...

  1. 首先,也是最重要的一点,你不应该使用不属于 Apache Geode or Pivotal GemFire 的“internal”classes publicAPI。 classes 出于某种原因是“内部”,因此如有更改,恕不另行通知或考虑最终用户应用程序。

  2. 其次,从 Javadoc in the source code, this class was used to support the now "deprecated" and old GemFire shell scripts for starting processes, namely: agent, gemfire and cacheserver, as mentioned here. These shell scripts are no longer used and have been replaced by Gfsh (doc) and the LocatorLauncher (in Geode) and ServerLauncher (in Geode) classes 可以看出,它们是 "public" API.[=17= 的一部分]

此致, -约翰