本文整理了Java中org.apache.ignite.Ignite.destroyCaches()
方法的一些代码示例,展示了Ignite.destroyCaches()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Ignite.destroyCaches()
方法的具体详情如下:
包路径:org.apache.ignite.Ignite
类名称:Ignite
方法名:destroyCaches
[英]Stops dynamically started caches.
[中]停止动态启动的缓存。
代码示例来源:origin: apache/ignite
/** {@inheritDoc} */
@Override public void destroyCaches(Collection<String> cacheNames) {
checkIgnite();
g.destroyCaches(cacheNames);
}
代码示例来源:origin: apache/ignite
/**
* @param groupName Group name.
* @throws Exception If failed.
*/
private void testDestroySpecificCachesInDifferentCacheGroups(String groupName) throws Exception {
performTest(ig -> {
ig.destroyCaches(Arrays.asList(CACHE_1, CACHE_3));
return null;
}, groupName);
}
代码示例来源:origin: apache/ignite
/**
* @param groupName Group name.
* @throws Exception If failed.
*/
private void testDestroySpecificCacheAndCacheGroup(String groupName) throws Exception {
Assume.assumeFalse("https://issues.apache.org/jira/browse/IGNITE-10582", MvccFeatureChecker.forcedMvcc());
performTest(ig -> {
ig.destroyCaches(Arrays.asList(CACHE_1, CACHE_3, CACHE_4));
return null;
}, groupName);
}
代码示例来源:origin: apache/ignite
/** {@inheritDoc} */
@Override protected void beforeTest() throws Exception {
clearIoState();
Ignite cli = client();
cli.destroyCaches(cli.cacheNames());
}
代码示例来源:origin: apache/ignite
cli.destroyCaches(cli.cacheNames());
代码示例来源:origin: org.apache.ignite/ignite-spring
/** {@inheritDoc} */
@Override public void destroyCaches(Collection<String> cacheNames) {
checkIgnite();
g.destroyCaches(cacheNames);
}
代码示例来源:origin: apache/ignite
srv0.destroyCaches(Arrays.asList("c1", "c2", "c3"));
内容来源于网络,如有侵权,请联系作者删除!