3 * Simple version of FileJournal that does nothing
6 class NullFileJournal
extends FileJournal
{
8 * @see FileJournal::doLogChangeBatch()
9 * @param array $entries
10 * @param string $batchId
13 protected function doLogChangeBatch( array $entries, $batchId ) {
14 return StatusValue
::newGood();
18 * @see FileJournal::doGetCurrentPosition()
21 protected function doGetCurrentPosition() {
26 * @see FileJournal::doGetPositionAtTime()
27 * @param int|string $time Timestamp
30 protected function doGetPositionAtTime( $time ) {
35 * @see FileJournal::doGetChangeEntries()
40 protected function doGetChangeEntries( $start, $limit ) {
45 * @see FileJournal::doPurgeOldLogs()
48 protected function doPurgeOldLogs() {
49 return StatusValue
::newGood();