org.apache.hadoop.hbase.regionserver.Store.getFlushableSize()方法的使用及代码示例

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

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

Store.getFlushableSize介绍

暂无

代码示例

代码示例来源:origin: harbby/presto-connectors

private long doDropStoreMemstoreContentsForSeqId(Store s, long currentSeqId) throws IOException {
 long snapshotSize = s.getFlushableSize();
 this.addAndGetGlobalMemstoreSize(-snapshotSize);
 StoreFlushContext ctx = s.createFlushContext(currentSeqId);
 ctx.prepare();
 ctx.abort();
 return snapshotSize;
}

代码示例来源:origin: harbby/presto-connectors

long flushableSize = store.getFlushableSize();
if (!(abort || flushableSize == 0 || writestate.readOnly)) {
 if (getRegionServerServices() != null) {

代码示例来源:origin: harbby/presto-connectors

totalFlushableSizeOfFlushableStores += s.getFlushableSize();
storeFlushCtxs.put(s.getFamily().getName(), s.createFlushContext(flushOpSeqId));
storeFlushableSize.put(s.getFamily().getName(), s.getFlushableSize());

代码示例来源:origin: harbby/presto-connectors

null : this.prepareFlushResult.storeFlushCtxs.get(store.getFamily().getName());
if (ctx != null) {
 long snapshotSize = store.getFlushableSize();
 ctx.abort();
 this.addAndGetGlobalMemstoreSize(-snapshotSize);

代码示例来源:origin: org.apache.hbase/hbase-server

MemStoreSize mss = store.getFlushableSize();
assertTrue(mss.getHeapSize() == MutableSegment.DEEP_OVERHEAD);

代码示例来源:origin: harbby/presto-connectors

null : this.prepareFlushResult.storeFlushCtxs.get(family);
if (ctx != null) {
 long snapshotSize = store.getFlushableSize();
 ctx.abort();
 this.addAndGetGlobalMemstoreSize(-snapshotSize);

相关文章