@InterfaceAudience.Private public class LogRoller extends AbstractWALRoller<RegionServerServices>
Thread.State, Thread.UncaughtExceptionHandler| Modifier and Type | Field and Description |
|---|---|
private static org.slf4j.Logger |
LOG |
abortable, WAL_ROLL_PERIOD_KEY, walNeedsRollMAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Constructor and Description |
|---|
LogRoller(RegionServerServices services) |
| Modifier and Type | Method and Description |
|---|---|
(package private) Map<WAL,Boolean> |
getWalNeedsRoll() |
protected void |
scheduleFlush(String encodedRegionName) |
addWAL, afterRoll, close, requestRollAll, run, waitUntilWalRollFinished, walRollFinishedactiveCount, 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, yieldprivate static final org.slf4j.Logger LOG
public LogRoller(RegionServerServices services)
protected void scheduleFlush(String encodedRegionName)
scheduleFlush in class AbstractWALRoller<RegionServerServices>encodedRegionName - Encoded name of region to flush.Map<WAL,Boolean> getWalNeedsRoll()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.