Availability

class OC\Files\Storage\Wrapper\Availability
Availability checker for storages
Throws a StorageNotAvailableException for storages with known failures
Source:lib/private/Files/Storage/Wrapper/Availability.php#40
Parent:OC\Files\Storage\Wrapper\Wrapper

Constants

RECHECK_TTL_SEC = 600
Source:lib/private/Files/Storage/Wrapper/Availability.php#41

Properties

protected static property OC\Files\Storage\Wrapper\Availability::$config
Source:lib/private/Files/Storage/Wrapper/Availability.php#44
Type:\OCP\IConfig

Methods

public OC\Files\Storage\Wrapper\Availability::__construct($parameters)
Source:lib/private/Files/Storage/Wrapper/Availability.php#46
public static OC\Files\Storage\Wrapper\Availability::shouldRecheck($availability)
Source:lib/private/Files/Storage/Wrapper/Availability.php#51
public OC\Files\Storage\Wrapper\Availability::mkdir($path)
Source:lib/private/Files/Storage/Wrapper/Availability.php#99
public OC\Files\Storage\Wrapper\Availability::rmdir($path)
Source:lib/private/Files/Storage/Wrapper/Availability.php#109
public OC\Files\Storage\Wrapper\Availability::opendir($path)
Source:lib/private/Files/Storage/Wrapper/Availability.php#119
public OC\Files\Storage\Wrapper\Availability::is_dir($path)
Source:lib/private/Files/Storage/Wrapper/Availability.php#129
public OC\Files\Storage\Wrapper\Availability::is_file($path)
Source:lib/private/Files/Storage/Wrapper/Availability.php#139
public OC\Files\Storage\Wrapper\Availability::stat($path)
Source:lib/private/Files/Storage/Wrapper/Availability.php#149
public OC\Files\Storage\Wrapper\Availability::filetype($path)
Source:lib/private/Files/Storage/Wrapper/Availability.php#159
public OC\Files\Storage\Wrapper\Availability::filesize($path)
Source:lib/private/Files/Storage/Wrapper/Availability.php#169
public OC\Files\Storage\Wrapper\Availability::isCreatable($path)
Source:lib/private/Files/Storage/Wrapper/Availability.php#179
public OC\Files\Storage\Wrapper\Availability::isReadable($path)
Source:lib/private/Files/Storage/Wrapper/Availability.php#189
public OC\Files\Storage\Wrapper\Availability::isUpdatable($path)
Source:lib/private/Files/Storage/Wrapper/Availability.php#199
public OC\Files\Storage\Wrapper\Availability::isDeletable($path)
Source:lib/private/Files/Storage/Wrapper/Availability.php#209
public OC\Files\Storage\Wrapper\Availability::isSharable($path)
Source:lib/private/Files/Storage/Wrapper/Availability.php#219
public OC\Files\Storage\Wrapper\Availability::getPermissions($path)
Source:lib/private/Files/Storage/Wrapper/Availability.php#229
public OC\Files\Storage\Wrapper\Availability::file_exists($path)
Source:lib/private/Files/Storage/Wrapper/Availability.php#239
public OC\Files\Storage\Wrapper\Availability::filemtime($path)
Source:lib/private/Files/Storage/Wrapper/Availability.php#252
public OC\Files\Storage\Wrapper\Availability::file_get_contents($path)
Source:lib/private/Files/Storage/Wrapper/Availability.php#262
public OC\Files\Storage\Wrapper\Availability::file_put_contents($path, $data)
Source:lib/private/Files/Storage/Wrapper/Availability.php#272
Source:lib/private/Files/Storage/Wrapper/Availability.php#282
public OC\Files\Storage\Wrapper\Availability::rename($path1, $path2)
Source:lib/private/Files/Storage/Wrapper/Availability.php#292
public OC\Files\Storage\Wrapper\Availability::copy($path1, $path2)
Source:lib/private/Files/Storage/Wrapper/Availability.php#302
public OC\Files\Storage\Wrapper\Availability::fopen($path, $mode)
Source:lib/private/Files/Storage/Wrapper/Availability.php#312
public OC\Files\Storage\Wrapper\Availability::getMimeType($path)
Source:lib/private/Files/Storage/Wrapper/Availability.php#322
public OC\Files\Storage\Wrapper\Availability::hash($type, $path, $raw=false)
Source:lib/private/Files/Storage/Wrapper/Availability.php#332
public OC\Files\Storage\Wrapper\Availability::free_space($path)
Source:lib/private/Files/Storage/Wrapper/Availability.php#342
public OC\Files\Storage\Wrapper\Availability::search($query)
Source:lib/private/Files/Storage/Wrapper/Availability.php#352
public OC\Files\Storage\Wrapper\Availability::touch($path, $mtime=null)
Source:lib/private/Files/Storage/Wrapper/Availability.php#362
public OC\Files\Storage\Wrapper\Availability::getLocalFile($path)
Source:lib/private/Files/Storage/Wrapper/Availability.php#372
public OC\Files\Storage\Wrapper\Availability::hasUpdated($path, $time)
Source:lib/private/Files/Storage/Wrapper/Availability.php#382
public OC\Files\Storage\Wrapper\Availability::getOwner($path)
Source:lib/private/Files/Storage/Wrapper/Availability.php#392
public OC\Files\Storage\Wrapper\Availability::getETag($path)
Source:lib/private/Files/Storage/Wrapper/Availability.php#401
public OC\Files\Storage\Wrapper\Availability::getDirectDownload($path)
Source:lib/private/Files/Storage/Wrapper/Availability.php#411
public OC\Files\Storage\Wrapper\Availability::copyFromStorage($sourceStorage, $sourceInternalPath, $targetInternalPath)
Source:lib/private/Files/Storage/Wrapper/Availability.php#421
public OC\Files\Storage\Wrapper\Availability::moveFromStorage($sourceStorage, $sourceInternalPath, $targetInternalPath)
Source:lib/private/Files/Storage/Wrapper/Availability.php#431
public OC\Files\Storage\Wrapper\Availability::getMetaData($path)
Source:lib/private/Files/Storage/Wrapper/Availability.php#441
protected OC\Files\Storage\Wrapper\Availability::setUnavailable($e)
Source:lib/private/Files/Storage/Wrapper/Availability.php#453
Throws:\OCP\Files\StorageNotAvailableException
public OC\Files\Storage\Wrapper\Availability::getDirectoryContent($directory)
Source:lib/private/Files/Storage/Wrapper/Availability.php#468