Nextcloud PHP API (master)

IPropagator

Propagate ETags and mtimes within the storage.

Tags
since
9.0.0
Attributes
#[Consumable]
$since: '9.0.0'

Table of Contents

Methods

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

Methods

beginBatch()

Mark the beginning of a propagation batch.

public beginBatch() : void

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() : void
Tags
since
9.1.0

propagateChange()

public propagateChange(string $internalPath, int $time[, int $sizeDifference = 0 ]) : void
Parameters
$internalPath : string
$time : int
$sizeDifference : int = 0

The number of bytes the file has grown.

Tags
since
9.0.0

        
On this page

Search results