本文整理了Java中org.apache.geode.cache.Region.saveSnapshot
方法的一些代码示例,展示了Region.saveSnapshot
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Region.saveSnapshot
方法的具体详情如下:
包路径:org.apache.geode.cache.Region
类名称:Region
方法名:saveSnapshot
[英]Saves the data in this region in a snapshot file. The data is a "concurrent" snapshot in that modifications to the region while the snapshot is being written are not guaranteed to be included or excluded from the snapshot. In other words, if there are concurrent modifications to the region while the snapshot is being written, the snapshot may not reflect a consistent state of the entire region at any moment in time.
[中]将此区域中的数据保存在快照文件中。数据是一个“并发”快照,因为在写入快照时对区域的修改不保证包含在快照中或从快照中排除。换句话说,如果在写入快照时对区域进行了并发修改,则快照可能无法在任何时刻反映整个区域的一致状态。
代码示例来源:origin: apache/geode
public void saveSnapshot(OutputStream outputStream) throws IOException {
this.region.saveSnapshot(outputStream);
}
代码示例来源:origin: apache/geode
preSnapshotRegion.saveSnapshot(out);
代码示例来源:origin: apache/geode
preSnapshotRegion.saveSnapshot(out);
内容来源于网络,如有侵权,请联系作者删除!