MediaWiki REL1_33
NullFileJournal Class Reference

Simple version of FileJournal that does nothing. More...

Inheritance diagram for NullFileJournal:
Collaboration diagram for NullFileJournal:

Protected Member Functions

 doGetChangeEntries ( $start, $limit)
 
 doGetCurrentPosition ()
 
 doGetPositionAtTime ( $time)
 
 doLogChangeBatch (array $entries, $batchId)
 
 doPurgeOldLogs ()
 
- Protected Member Functions inherited from FileJournal
 __construct (array $config)
 Construct a new instance from configuration.
 

Additional Inherited Members

- Public Member Functions inherited from FileJournal
 getChangeEntries ( $start=null, $limit=0, &$next=null)
 Get an array of file change log entries.
 
 getCurrentPosition ()
 Get the position ID of the latest journal entry.
 
 getPositionAtTime ( $time)
 Get the position ID of the latest journal entry at some point in time.
 
 getTimestampedUUID ()
 Get a statistically unique ID string.
 
 logChangeBatch (array $entries, $batchId)
 Log changes made by a batch file operation.
 
 purgeOldLogs ()
 Purge any old log entries.
 
- Static Public Member Functions inherited from FileJournal
static factory (array $config, $backend)
 Create an appropriate FileJournal object from config.
 
- Protected Attributes inherited from FileJournal
string $backend
 
int $ttlDays
 

Detailed Description

Simple version of FileJournal that does nothing.

Since
1.20

Definition at line 6 of file NullFileJournal.php.

Member Function Documentation

◆ doGetChangeEntries()

NullFileJournal::doGetChangeEntries (   $start,
  $limit 
)
protected
See also
FileJournal::doGetChangeEntries()
Parameters
int$start
int$limit
Returns
array

Reimplemented from FileJournal.

Definition at line 40 of file NullFileJournal.php.

◆ doGetCurrentPosition()

NullFileJournal::doGetCurrentPosition ( )
protected
See also
FileJournal::doGetCurrentPosition()
Returns
int|bool

Reimplemented from FileJournal.

Definition at line 21 of file NullFileJournal.php.

◆ doGetPositionAtTime()

NullFileJournal::doGetPositionAtTime (   $time)
protected
See also
FileJournal::doGetPositionAtTime()
Parameters
int | string$timeTimestamp
Returns
int|bool

Reimplemented from FileJournal.

Definition at line 30 of file NullFileJournal.php.

◆ doLogChangeBatch()

NullFileJournal::doLogChangeBatch ( array  $entries,
  $batchId 
)
protected
See also
FileJournal::doLogChangeBatch()
Parameters
array$entries
string$batchId
Returns
StatusValue

Reimplemented from FileJournal.

Definition at line 13 of file NullFileJournal.php.

◆ doPurgeOldLogs()

NullFileJournal::doPurgeOldLogs ( )
protected
See also
FileJournal::doPurgeOldLogs()
Returns
StatusValue

Reimplemented from FileJournal.

Definition at line 48 of file NullFileJournal.php.


The documentation for this class was generated from the following file: