org.apache.ignite.Ignite.destroyCaches()方法的使用及代码示例

x33g5p2x  于2022-01-21 转载在 其他  
字(1.6k)|赞(0)|评价(0)|浏览(146)

本文整理了Java中org.apache.ignite.Ignite.destroyCaches()方法的一些代码示例,展示了Ignite.destroyCaches()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Ignite.destroyCaches()方法的具体详情如下:
包路径:org.apache.ignite.Ignite
类名称:Ignite
方法名:destroyCaches

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"));

相关文章