public static class TestWALActionsListener.DummyWALActionsListener extends Object implements WALActionsListener
| Modifier and Type | Field and Description |
|---|---|
int |
closedCount |
int |
postLogRollCounter |
int |
preLogRollCounter |
| Constructor and Description |
|---|
DummyWALActionsListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
logCloseRequested() |
void |
postLogRoll(org.apache.hadoop.fs.Path oldFile,
org.apache.hadoop.fs.Path newFile) |
void |
preLogRoll(org.apache.hadoop.fs.Path oldFile,
org.apache.hadoop.fs.Path newFile) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitlogRollRequested, postAppend, postLogArchive, postSync, preLogArchive, visitLogEntryBeforeWrite, visitLogEntryBeforeWritepublic int preLogRollCounter
public int postLogRollCounter
public int closedCount
public DummyWALActionsListener()
public void preLogRoll(org.apache.hadoop.fs.Path oldFile, org.apache.hadoop.fs.Path newFile)
preLogRoll in interface WALActionsListenerpublic void postLogRoll(org.apache.hadoop.fs.Path oldFile, org.apache.hadoop.fs.Path newFile)
postLogRoll in interface WALActionsListenerpublic void logCloseRequested()
logCloseRequested in interface WALActionsListenerCopyright © 2007–2019 Cloudera. All rights reserved.