@InterfaceAudience.Private public class LogRoller extends AbstractWALRoller<RegionServerServices>
AbstractWALRoller.RollController
Thread.State, Thread.UncaughtExceptionHandler
Modifier and Type | Field and Description |
---|---|
private static org.slf4j.Logger |
LOG |
abortable, DEFAULT_WAL_ROLL_WAIT_TIMEOUT, WAL_ROLL_PERIOD_KEY, WAL_ROLL_RETRIES, WAL_ROLL_WAIT_TIMEOUT, wals
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
Constructor and Description |
---|
LogRoller(RegionServerServices services) |
Modifier and Type | Method and Description |
---|---|
(package private) Map<WAL,AbstractWALRoller.RollController> |
getWalNeedsRoll() |
protected void |
scheduleFlush(String encodedRegionName,
List<byte[]> families) |
addWAL, afterWALArchive, close, requestRollAll, run, waitUntilWalRollFinished, walRollFinished
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
private static final org.slf4j.Logger LOG
public LogRoller(RegionServerServices services)
protected void scheduleFlush(String encodedRegionName, List<byte[]> families)
scheduleFlush
in class AbstractWALRoller<RegionServerServices>
encodedRegionName
- Encoded name of region to flush.families
- stores of region to flush.Map<WAL,AbstractWALRoller.RollController> getWalNeedsRoll()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.