Configuring Storage
Configuring Storage
- public static function pushStorageNamespace($namespace)
- public static function popStorageNamespace()
- public static function getDefaultStorageNamespace()
- public static function getStorageNamespace()
- protected function establishLiveConnection($mode)
- public function getTableName()
- public function getApplicationName()
Other Methods
Other Methods
- public function setForcedStorageNamespace($namespace)
- private function newClusterConnection($application, $database, $mode)
- private function raiseImproperWrite($database)
- private function raiseImpossibleWrite($database)
- private function raiseUnconfigured($database)
- private function raiseUnreachable($database, $proxy)
- protected function getDatabaseName()
- public static function chunkSQL($fragments, $limit) — Break a list of escaped SQL statement fragments (e.g., VALUES lists for INSERT, previously built with @{function:qsprintf}) into chunks which will fit under the MySQL 'max_allowed_packet' limit.
- protected function assertAttached($property)
- protected function assertAttachedKey($value, $key)
- protected function detectEncodingForStorage($string)
- protected function getUTF8StringFromStorage($string, $encoding)
- protected function willReadData(&$data)
- protected function willWriteData(&$data)
- public static function initializeNewLease()
- public function setReleaseOnDestruction($release) — Flag this lease to be released when its destructor is called. This is mostly useful if you have a script which acquires, uses, and then releases a lease, as you don't need to explicitly handle exceptions to properly release the lease.
- public function __destruct()
- public function setStatus($status)
- public function getLeaseName()
- protected function getConfiguration()
- public function setAttribute($key, $value)
- public function getAttribute($key, $default)
- public function generatePHID()
- public function getInterface($type)
- public function getResource()
- public function attachResource($resource)
- public function hasAttachedResource()
- public function getUnconsumedCommands()
- public function attachUnconsumedCommands($commands)
- public function isReleasing()
- public function queueForActivation()
- public function setActivateWhenAcquired($activate)
- public function needSlotLock($key)
- public function acquireOnResource($resource)
- public function isAcquiredLease()
- public function activateOnResource($resource)
- public function isActivatedLease()
- public function scheduleUpdate($epoch)
- public function setAwakenTaskIDs($ids)
- public function setAllowedBlueprintPHIDs($phids)
- public function getAllowedBlueprintPHIDs()
- private function didActivate()
- public function logEvent($type, $data)
- public function awakenTasks() — Awaken yielded tasks after a state change.
- public function getURI()
- public function getStatusObject()
- public function getStatusIcon()
- public function getStatusColor()
- public function getStatusDisplayName()
- public function isActivating()
- public function isActive()
- public function canRelease()
- public function canReceiveCommands()
- public function getCapabilities()
- public function getPolicy($capability)
- public function hasAutomaticCapability($capability, $viewer)
- public function describeAutomaticCapability($capability)
- public function getFieldSpecificationsForConduit()
- public function getFieldValuesForConduit()
- public function getConduitSearchAttachments()