@InterfaceAudience.Private public class LogRoller extends HasThread implements Closeable
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 |
close() |
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()
public void close()
close
in interface Closeable
close
in interface AutoCloseable
Copyright © 2007–2019 Cloudera. All rights reserved.