IPropagator

interface OCP\Files\Cache\IPropagator
Propagate etags and mtimes within the storage
Implemented by:OC\Files\Cache\Propagator
Source:lib/public/Files/Cache/IPropagator.php#30

Methods

public OCP\Files\Cache\IPropagator::beginBatch()
Mark the beginning of a propagation batch
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.
Source:lib/public/Files/Cache/IPropagator.php#41
Since:9.1.0
public OCP\Files\Cache\IPropagator::commitBatch()
Commit the active propagation batch
Source:lib/public/Files/Cache/IPropagator.php#48
Since:9.1.0
public OCP\Files\Cache\IPropagator::propagateChange($internalPath, $time)
Source:

lib/public/Files/Cache/IPropagator.php#55

Parameters:
  • $internalPath (string)
  • $time (int)
Since:

9.0.0