Page MenuHomeClusterLabs Projects
Diviner Tech Docs PhabricatorDatabaseRef

final class PhabricatorDatabaseRef
Phorge Technical Documentation ()

This class is not documented.

Methods

public function setHost($host)

This method is not documented.
Parameters
$host
Return
wild

public function getHost()

This method is not documented.
Return
wild

public function setPort($port)

This method is not documented.
Parameters
$port
Return
wild

public function getPort()

This method is not documented.
Return
wild

public function setUser($user)

This method is not documented.
Parameters
$user
Return
wild

public function getUser()

This method is not documented.
Return
wild

public function setPass($pass)

This method is not documented.
Parameters
PhutilOpaqueEnvelope$pass
Return
wild

public function getPass()

This method is not documented.
Return
wild

public function setIsMaster($is_master)

This method is not documented.
Parameters
$is_master
Return
wild

public function getIsMaster()

This method is not documented.
Return
wild

public function setDisabled($disabled)

This method is not documented.
Parameters
$disabled
Return
wild

public function getDisabled()

This method is not documented.
Return
wild

public function setConnectionLatency($connection_latency)

This method is not documented.
Parameters
$connection_latency
Return
wild

public function getConnectionLatency()

This method is not documented.
Return
wild

public function setConnectionStatus($connection_status)

This method is not documented.
Parameters
$connection_status
Return
wild

public function getConnectionStatus()

This method is not documented.
Return
wild

public function setConnectionMessage($connection_message)

This method is not documented.
Parameters
$connection_message
Return
wild

public function getConnectionMessage()

This method is not documented.
Return
wild

public function setReplicaStatus($replica_status)

This method is not documented.
Parameters
$replica_status
Return
wild

public function getReplicaStatus()

This method is not documented.
Return
wild

public function setReplicaMessage($replica_message)

This method is not documented.
Parameters
$replica_message
Return
wild

public function getReplicaMessage()

This method is not documented.
Return
wild

public function setReplicaDelay($replica_delay)

This method is not documented.
Parameters
$replica_delay
Return
wild

public function getReplicaDelay()

This method is not documented.
Return
wild

public function setIsIndividual($is_individual)

This method is not documented.
Parameters
$is_individual
Return
wild

public function getIsIndividual()

This method is not documented.
Return
wild

public function setIsDefaultPartition($is_default_partition)

This method is not documented.
Parameters
$is_default_partition
Return
wild

public function getIsDefaultPartition()

This method is not documented.
Return
wild

public function setUsePersistentConnections($use_persistent_connections)

This method is not documented.
Parameters
$use_persistent_connections
Return
wild

public function getUsePersistentConnections()

This method is not documented.
Return
wild

public function setApplicationMap($application_map)

This method is not documented.
Parameters
array$application_map
Return
wild

public function getApplicationMap()

This method is not documented.
Return
wild

public function getPartitionStateForCommit()

This method is not documented.
Return
wild

public function setMasterRef($master_ref)

This method is not documented.
Parameters
PhabricatorDatabaseRef$master_ref
Return
wild

public function getMasterRef()

This method is not documented.
Return
wild

public function addReplicaRef($replica_ref)

This method is not documented.
Parameters
PhabricatorDatabaseRef$replica_ref
Return
wild

public function getReplicaRefs()

This method is not documented.
Return
wild

public function getDisplayName()

This method is not documented.
Return
wild

public function getRefKey()

This method is not documented.
Return
wild

public static function getConnectionStatusMap()

This method is not documented.
Return
wild

public static function getReplicaStatusMap()

This method is not documented.
Return
wild

public static function getClusterRefs()

This method is not documented.
Return
wild

public static function getLiveIndividualRef()

This method is not documented.
Return
wild

public static function newRefs()

This method is not documented.
Return
wild

public static function queryAll()

This method is not documented.
Return
wild

private static function queryRefs($refs)

This method is not documented.
Parameters
array$refs
Return
wild

public function newManagementConnection()

This method is not documented.
Return
wild

public function newApplicationConnection($database)

This method is not documented.
Parameters
$database
Return
wild

public function isSevered()

This method is not documented.
Return
wild

public function isReachable($connection)

This method is not documented.
Parameters
AphrontDatabaseConnection$connection
Return
wild

public function checkHealth()

This method is not documented.
Return
wild

private function getHealthRecordCacheKey()

This method is not documented.
Return
wild

public function getHealthRecord()

This method is not documented.
Return
wild

public function getConnectionException()

This method is not documented.
Return
wild

public static function getActiveDatabaseRefs()

This method is not documented.
Return
wild

public static function getAllMasterDatabaseRefs()

This method is not documented.
Return
wild

public static function getMasterDatabaseRefs()

This method is not documented.
Return
wild

public function isApplicationHost($database)

This method is not documented.
Parameters
$database
Return
wild

public function loadRawMySQLConfigValue($key)

This method is not documented.
Parameters
$key
Return
wild

public static function getMasterDatabaseRefForApplication($application)

This method is not documented.
Parameters
$application
Return
wild

public static function newIndividualRef()

This method is not documented.
Return
wild

public static function getAllReplicaDatabaseRefs()

This method is not documented.
Return
wild

public static function getReplicaDatabaseRefs()

This method is not documented.
Return
wild

private static function getEnabledRefs($refs)

This method is not documented.
Parameters
array$refs
Return
wild

public static function getReplicaDatabaseRefForApplication($application)

This method is not documented.
Parameters
$application
Return
wild

private function newConnection($options)

This method is not documented.
Parameters
array$options
Return
wild

public static function newRawConnection($options)

This method is not documented.
Parameters
array$options
Return
wild