MediaWiki  1.28.0
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. More...
 
 doGetChangeEntries ($start, $limit)
 
 doGetCurrentPosition ()
 
 doGetPositionAtTime ($time)
 
 doLogChangeBatch (array $entries, $batchId)
 
 doPurgeOldLogs ()
 

Additional Inherited Members

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

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

Definition at line 40 of file NullFileJournal.php.

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

Definition at line 21 of file NullFileJournal.php.

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

Definition at line 30 of file NullFileJournal.php.

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

Definition at line 13 of file NullFileJournal.php.

References StatusValue\newGood().

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

Definition at line 48 of file NullFileJournal.php.

References StatusValue\newGood().


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