本文整理了Java中org.apache.hadoop.hbase.regionserver.Region.refreshStoreFiles
方法的一些代码示例,展示了Region.refreshStoreFiles
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Region.refreshStoreFiles
方法的具体详情如下:
包路径:org.apache.hadoop.hbase.regionserver.Region
类名称:Region
方法名:refreshStoreFiles
[英]Check the region's underlying store files, open the files that have not been opened yet, and remove the store file readers for store files no longer available.
[中]检查该地区的基础存储文件,打开尚未打开的文件,并删除不再可用的存储文件的存储文件读取器。
代码示例来源:origin: apache/hbase
private boolean refreshStoreFilesAndReclaimMemory(Region region) {
try {
return region.refreshStoreFiles();
} catch (IOException e) {
LOG.warn("Refreshing store files failed with exception", e);
}
return false;
}
代码示例来源:origin: harbby/presto-connectors
private boolean refreshStoreFilesAndReclaimMemory(Region region) {
try {
return region.refreshStoreFiles();
} catch (IOException e) {
LOG.warn("Refreshing store files failed with exception", e);
}
return false;
}
内容来源于网络,如有侵权,请联系作者删除!