gpt4 book ai didi

org.apache.hadoop.hbase.procedure2.store.wal.WALProcedureStore.periodicRoll()方法的使用及代码示例

转载 作者:知者 更新时间:2024-03-24 04:27:05 24 4
gpt4 key购买 nike

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

WALProcedureStore.periodicRoll介绍

暂无

代码示例

代码示例来源:origin: apache/hbase

@VisibleForTesting
void periodicRollForTesting() throws IOException {
 lock.lock();
 try {
  periodicRoll();
 } finally {
  lock.unlock();
 }
}

代码示例来源:origin: apache/hbase

private void tryCleanupLogsOnLoad() {
 // nothing to cleanup.
 if (logs.size() <= 1) {
  return;
 }
 // the config says to not cleanup wals on load.
 if (!conf.getBoolean(EXEC_WAL_CLEANUP_ON_LOAD_CONF_KEY,
  DEFAULT_EXEC_WAL_CLEANUP_ON_LOAD_CONF_KEY)) {
  LOG.debug("WALs cleanup on load is not enabled: " + getActiveLogs());
  return;
 }
 try {
  periodicRoll();
 } catch (IOException e) {
  LOG.warn("Unable to cleanup logs on load: " + e.getMessage(), e);
 }
}

代码示例来源:origin: apache/hbase

periodicRoll();

代码示例来源:origin: com.aliyun.hbase/alihbase-procedure

@VisibleForTesting
protected void periodicRollForTesting() throws IOException {
 lock.lock();
 try {
  periodicRoll();
 } finally {
  lock.unlock();
 }
}

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

@VisibleForTesting
void periodicRollForTesting() throws IOException {
 lock.lock();
 try {
  periodicRoll();
 } finally {
  lock.unlock();
 }
}

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

@VisibleForTesting
protected void periodicRollForTesting() throws IOException {
 lock.lock();
 try {
  periodicRoll();
 } finally {
  lock.unlock();
 }
}

代码示例来源:origin: com.aliyun.hbase/alihbase-procedure

private void tryCleanupLogsOnLoad() {
 // nothing to cleanup.
 if (logs.size() <= 1) return;
 // the config says to not cleanup wals on load.
 if (!conf.getBoolean(EXEC_WAL_CLEANUP_ON_LOAD_CONF_KEY,
  DEFAULT_EXEC_WAL_CLEANUP_ON_LOAD_CONF_KEY)) {
  LOG.debug("WALs cleanup on load is not enabled: " + getActiveLogs());
  return;
 }
 try {
  periodicRoll();
 } catch (IOException e) {
  LOG.warn("Unable to cleanup logs on load: " + e.getMessage(), e);
 }
}

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

private void tryCleanupLogsOnLoad() {
 // nothing to cleanup.
 if (logs.size() <= 1) {
  return;
 }
 // the config says to not cleanup wals on load.
 if (!conf.getBoolean(EXEC_WAL_CLEANUP_ON_LOAD_CONF_KEY,
  DEFAULT_EXEC_WAL_CLEANUP_ON_LOAD_CONF_KEY)) {
  LOG.debug("WALs cleanup on load is not enabled: " + getActiveLogs());
  return;
 }
 try {
  periodicRoll();
 } catch (IOException e) {
  LOG.warn("Unable to cleanup logs on load: " + e.getMessage(), e);
 }
}

代码示例来源:origin: com.aliyun.hbase/alihbase-procedure

periodicRoll();

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

periodicRoll();

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

periodicRoll();

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com