Nextcloud PHP API (master)

IPropagator

Propagate etags and mtimes within the storage

Tags
since
9.0.0

Table of Contents

Methods

beginBatch()  : mixed
Mark the beginning of a propagation batch
commitBatch()  : mixed
Commit the active propagation batch
propagateChange()  : mixed

Methods

beginBatch()

Mark the beginning of a propagation batch

public beginBatch() : mixed

Note that not all cache setups support propagation in which case this will be a noop

Batching for cache setups that do support it has to be explicit since the cache state is not fully consistent before the batch is committed.

Tags
since
9.1.0

commitBatch()

Commit the active propagation batch

public commitBatch() : mixed
Tags
since
9.1.0

propagateChange()

public propagateChange(string $internalPath, int $time[, int $sizeDifference = 0 ]) : mixed
Parameters
$internalPath : string
$time : int
$sizeDifference : int = 0
Tags
since
9.0.0

        
On this page

Search results