我正在尝试运行 Gemfire 客户端应用程序,但在运行以下代码时出现 IllegalStateException:
//clientPool is the name of the pool from the client
DynamicRegionFactory.Config config = new DynamicRegionFactory.Config(null,(String)"clientPool",false,true);
dynRegFact = DynamicRegionFactory.get();
dynRegFact.open(config);
_cache = new ClientCacheFactory().set("locators", "")
.set("mcast-port", "0").set("log-level", "error")
.set("cache-xml-file", xmlFileName)
.create();
线程“main”java.lang.IllegalStateException 中的异常:DynamicRegionFactory 的客户端池必须配置为启用队列设置为 true。
我不知道如何将启用队列设置为 true。我会很感激一些代码,而不是像“检查这部分文档”这样的答案。我已经到处看了。