@InterfaceAudience.Private public class LogRoller extends HasThread
Modifier and Type | Field and Description |
---|---|
protected RegionServerServices |
services |
Constructor and Description |
---|
LogRoller(Server server,
RegionServerServices services) |
Modifier and Type | Method and Description |
---|---|
void |
addWAL(WAL wal) |
void |
interrupt() |
void |
requestRollAll() |
void |
run() |
boolean |
walRollFinished()
For testing only
|
getName, getThread, isAlive, isInterrupted, join, join, join, setDaemon, setName, setPriority, setUncaughtExceptionHandler, start
protected final RegionServerServices services
public LogRoller(Server server, RegionServerServices services)
server
- public void addWAL(WAL wal)
public void requestRollAll()
public boolean walRollFinished()
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.