在 gemfire 缓存中部署 jar

Deploy jars in gemfire cache

我正在研究 gemfire 并亲自动手。我遇到了将 jars 部署到 gemfire 中的概念。 我的问题是为什么以及将哪种类型的 jar 部署到 gemfire 缓存中,这些缓存将成为 gemfire 的本机。 您能否列出一些场景来阐明将 jars 部署到 gemfire 的概念?

你可以编写可以在 Geode 服务器进程中执行的 Functions。函数是并行迭代 Geode 中的数据或实现自定义聚合的一种快速方法。

您还可以实施 CacheLoaders 将数据加载到 Geode 中,并 CacheListeners/AsyncEventListeners 将数据从 Geode 写入另一个数据源。

您的函数、侦听器、编写器可以捆绑在一个 jar 中,然后部署在 Geode 服务器上。