Propagator¶
-
class
OC\Files\Cache\
Propagator
¶ - Propagate etags and mtimes within the storage
Source: lib/private/Files/Cache/Propagator.php#34 Implements: OCP\Files\Cache\IPropagator
Properties¶
-
protected static property
OC\Files\Cache\Propagator::$
storage
¶ Source: lib/private/Files/Cache/Propagator.php#42 Type: \OC\Files\Storage\Storage
Methods¶
-
public
OC\Files\Cache\Propagator::
__construct
($storage, $connection, $ignore=[])¶ Source: lib/private/Files/Cache/Propagator.php#54
-
public
OC\Files\Cache\Propagator::
propagateChange
($internalPath, $time, $sizeDifference=0)¶ Source: Parameters: - $internalPath (string)
- $time (int)
- $sizeDifference (int) number of bytes the file has grown
-
protected
OC\Files\Cache\Propagator::
getParents
($path)¶ Source: lib/private/Files/Cache/Propagator.php#117
-
public
OC\Files\Cache\Propagator::
beginBatch
()¶ - Mark the beginning of a propagation batchNote that not all cache setups support propagation in which case this will be a noopBatching for cache setups that do support it has to be explicit since the cache state is not fully consistentbefore the batch is committed.
Source: lib/private/Files/Cache/Propagator.php#136
-
public
OC\Files\Cache\Propagator::
commitBatch
()¶ - Commit the active propagation batch
Source: lib/private/Files/Cache/Propagator.php#158