|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface WALActionsListener
Get notification of HLog/WAL log events. The invocations are inline
so make sure your implementation is fast else you'll slow hbase.
| Method Summary | |
|---|---|
void |
logCloseRequested()
The WAL is about to close. |
void |
logRolled(org.apache.hadoop.fs.Path newFile)
The WAL was rolled. |
void |
logRollRequested()
A request was made that the WAL be rolled. |
void |
visitLogEntryBeforeWrite(HRegionInfo info,
HLogKey logKey,
WALEdit logEdit)
Called before each write. |
void |
visitLogEntryBeforeWrite(HTableDescriptor htd,
HLogKey logKey,
WALEdit logEdit)
|
| Method Detail |
|---|
void logRolled(org.apache.hadoop.fs.Path newFile)
throws IOException
newFile - the path to the new hlog
IOExceptionvoid logRollRequested()
void logCloseRequested()
void visitLogEntryBeforeWrite(HRegionInfo info,
HLogKey logKey,
WALEdit logEdit)
info - logKey - logEdit -
void visitLogEntryBeforeWrite(HTableDescriptor htd,
HLogKey logKey,
WALEdit logEdit)
htd - logKey - logEdit -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||