本文整理了Java中org.apache.ignite.Ignite.dataRegionMetrics()
方法的一些代码示例,展示了Ignite.dataRegionMetrics()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Ignite.dataRegionMetrics()
方法的具体详情如下:
包路径:org.apache.ignite.Ignite
类名称:Ignite
方法名:dataRegionMetrics
[英]Returns a collection of DataRegionMetrics that reflects page memory usage on this Apache Ignite node instance. Returns the collection that contains the latest snapshots for each memory region configured with DataRegionConfiguration on this Ignite node instance.
[中]返回DataRegionMetrics集合,该集合反映此Apache Ignite节点实例上的页面内存使用情况。返回包含此Ignite节点实例上使用DataRegionConfiguration配置的每个内存区域的最新快照的集合。
代码示例来源:origin: apache/ignite
/** {@inheritDoc} */
@Nullable @Override public DataRegionMetrics dataRegionMetrics(String memPlcName) {
checkIgnite();
return g.dataRegionMetrics(memPlcName);
}
代码示例来源:origin: apache/ignite
/** {@inheritDoc} */
@Override public Collection<DataRegionMetrics> dataRegionMetrics() {
checkIgnite();
return g.dataRegionMetrics();
}
代码示例来源:origin: apache/ignite
/** */
private static DataRegionMetrics getDfltRegionMetrics(Ignite node) {
for (DataRegionMetrics m : node.dataRegionMetrics())
if (DFLT_DATA_REG_DEFAULT_NAME.equals(m.getName()))
return m;
throw new RuntimeException("No metrics found for default data region");
}
代码示例来源:origin: apache/ignite
Collection<DataRegionMetrics> metrics = prj.ignite().dataRegionMetrics();
代码示例来源:origin: apache/ignite
long c0 = testNode.dataRegionMetrics(DEFAULT_REGION).getPagesRead();
assertEquals("Read pages count must be same", c0, testNode.dataRegionMetrics(DEFAULT_REGION).getPagesRead());
代码示例来源:origin: apache/ignite
CacheGroupMetricsMXBean mxBean0Grp3 = mxBean(0, "cache4");
long totalPages = ignite.dataRegionMetrics("default").getTotalAllocatedPages();
totalPages = ignite.dataRegionMetrics("default").getTotalAllocatedPages();
代码示例来源:origin: org.apache.ignite/ignite-spring
/** {@inheritDoc} */
@Override public Collection<DataRegionMetrics> dataRegionMetrics() {
checkIgnite();
return g.dataRegionMetrics();
}
代码示例来源:origin: org.apache.ignite/ignite-spring
/** {@inheritDoc} */
@Nullable @Override public DataRegionMetrics dataRegionMetrics(String memPlcName) {
checkIgnite();
return g.dataRegionMetrics(memPlcName);
}
代码示例来源:origin: org.apache.ignite/ignite-core
Collection<DataRegionMetrics> metrics = prj.ignite().dataRegionMetrics();
内容来源于网络,如有侵权,请联系作者删除!