Package alluxio.recorder
Class NoopRecorder
- java.lang.Object
-
- alluxio.recorder.Recorder
-
- alluxio.recorder.NoopRecorder
-
public class NoopRecorder extends Recorder
A Recorder which does nothing.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
record(java.lang.String message)
Records a message.void
record(java.lang.String format, java.lang.Object... arguments)
Records a message with a format template and arguments.java.util.List<java.lang.String>
takeRecords()
Gets and clears the records recorded so far.-
Methods inherited from class alluxio.recorder.Recorder
noopRecorder
-
-
-
-
Method Detail
-
record
public void record(java.lang.String message)
Description copied from class:Recorder
Records a message.
-
record
public void record(java.lang.String format, java.lang.Object... arguments)
Description copied from class:Recorder
Records a message with a format template and arguments.
-
takeRecords
public java.util.List<java.lang.String> takeRecords()
Description copied from class:Recorder
Gets and clears the records recorded so far. After this, the recorder is empty.- Overrides:
takeRecords
in classRecorder
- Returns:
- the records
-
-