@InterfaceAudience.Private public class WALEventTrackerListener extends Object implements WALActionsListener
| Modifier and Type | Class and Description |
|---|---|
static class |
WALEventTrackerListener.WalState |
WALActionsListener.RollRequestReason| Constructor and Description |
|---|
WALEventTrackerListener(org.apache.hadoop.conf.Configuration conf,
NamedQueueRecorder namedQueueRecorder,
ServerName serverName) |
| Modifier and Type | Method and Description |
|---|---|
void |
postLogRoll(org.apache.hadoop.fs.Path oldPath,
org.apache.hadoop.fs.Path newPath)
The WAL has been rolled.
|
void |
preLogRoll(org.apache.hadoop.fs.Path oldPath,
org.apache.hadoop.fs.Path newPath)
The WAL is going to be rolled.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitlogCloseRequested, logRollRequested, postAppend, postLogArchive, postSync, preLogArchive, visitLogEntryBeforeWritepublic WALEventTrackerListener(org.apache.hadoop.conf.Configuration conf,
NamedQueueRecorder namedQueueRecorder,
ServerName serverName)
public void preLogRoll(org.apache.hadoop.fs.Path oldPath,
org.apache.hadoop.fs.Path newPath)
WALActionsListenerpreLogRoll in interface WALActionsListeneroldPath - the path to the old walnewPath - the path to the new walpublic void postLogRoll(org.apache.hadoop.fs.Path oldPath,
org.apache.hadoop.fs.Path newPath)
WALActionsListenerpostLogRoll in interface WALActionsListeneroldPath - the path to the old walnewPath - the path to the new walCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.