0
我试图运行的GemFire客户端应用程序,但运行下面的代码时,我得到一个IllegalStateException:的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。我将不胜感激一些代码,而不是诸如“检查这部分文档”的答案。我已经到处寻找了。
没有工作,我得到一个创建缓存的异常 - 线程“main”中的异常java.lang.UnsupportedOperationException:客户端缓存不支持操作 - 它在其他异常之前被抛出。 –
我如何支持来自客户端的交易? –
GemFire 6.6支持客户端的交易。现在你应该创建函数,如果你想有事务。 –