public function setHost($host)
public function setHost($host)
Parameters
$host |
Return
wild |
public function getHost()
public function getHost()
Return
wild |
public function setPort($port)
public function setPort($port)
Parameters
$port |
Return
wild |
public function getPort()
public function getPort()
Return
wild |
public function setUser($user)
public function setUser($user)
Parameters
$user |
Return
wild |
public function getUser()
public function getUser()
Return
wild |
public function setPass($pass)
public function setPass($pass)
Parameters
PhutilOpaqueEnvelope | $pass |
Return
wild |
public function getPass()
public function getPass()
Return
wild |
public function setIsMaster($is_master)
public function setIsMaster($is_master)
Parameters
$is_master |
Return
wild |
public function getIsMaster()
public function getIsMaster()
Return
wild |
public function setDisabled($disabled)
public function setDisabled($disabled)
Parameters
$disabled |
Return
wild |
public function getDisabled()
public function getDisabled()
Return
wild |
public function setConnectionLatency($connection_latency)
public function setConnectionLatency($connection_latency)
Parameters
$connection_latency |
Return
wild |
public function getConnectionLatency()
public function getConnectionLatency()
Return
wild |
public function setConnectionStatus($connection_status)
public function setConnectionStatus($connection_status)
Parameters
$connection_status |
Return
wild |
public function getConnectionStatus()
public function getConnectionStatus()
Return
wild |
public function setConnectionMessage($connection_message)
public function setConnectionMessage($connection_message)
Parameters
$connection_message |
Return
wild |
public function getConnectionMessage()
public function getConnectionMessage()
Return
wild |
public function setReplicaStatus($replica_status)
public function setReplicaStatus($replica_status)
Parameters
$replica_status |
Return
wild |
public function getReplicaStatus()
public function getReplicaStatus()
Return
wild |
public function setReplicaMessage($replica_message)
public function setReplicaMessage($replica_message)
Parameters
$replica_message |
Return
wild |
public function getReplicaMessage()
public function getReplicaMessage()
Return
wild |
public function setReplicaDelay($replica_delay)
public function setReplicaDelay($replica_delay)
Parameters
$replica_delay |
Return
wild |
public function getReplicaDelay()
public function getReplicaDelay()
Return
wild |
public function setIsIndividual($is_individual)
public function setIsIndividual($is_individual)
Parameters
$is_individual |
Return
wild |
public function getIsIndividual()
public function getIsIndividual()
Return
wild |
public function setIsDefaultPartition($is_default_partition)
public function setIsDefaultPartition($is_default_partition)
Parameters
$is_default_partition |
Return
wild |
public function getIsDefaultPartition()
public function getIsDefaultPartition()
Return
wild |
public function setUsePersistentConnections($use_persistent_connections)
public function setUsePersistentConnections($use_persistent_connections)
Parameters
$use_persistent_connections |
Return
wild |
public function getUsePersistentConnections()
public function getUsePersistentConnections()
Return
wild |
public function setApplicationMap($application_map)
public function setApplicationMap($application_map)
Parameters
array | $application_map |
Return
wild |
public function getApplicationMap()
public function getApplicationMap()
Return
wild |
public function getPartitionStateForCommit()
public function getPartitionStateForCommit()
Return
wild |
public function setMasterRef($master_ref)
public function setMasterRef($master_ref)
Parameters
PhabricatorDatabaseRef | $master_ref |
Return
wild |
public function getMasterRef()
public function getMasterRef()
Return
wild |
public function addReplicaRef($replica_ref)
public function addReplicaRef($replica_ref)
Parameters
PhabricatorDatabaseRef | $replica_ref |
Return
wild |
public function getReplicaRefs()
public function getReplicaRefs()
Return
wild |
public function getDisplayName()
public function getDisplayName()
Return
wild |
public function getRefKey()
public function getRefKey()
Return
wild |
public static function getConnectionStatusMap()
public static function getConnectionStatusMap()
Return
wild |
public static function getReplicaStatusMap()
public static function getReplicaStatusMap()
Return
wild |
public static function getClusterRefs()
public static function getClusterRefs()
Return
wild |
public static function getLiveIndividualRef()
public static function getLiveIndividualRef()
Return
wild |
public static function newRefs()
public static function newRefs()
Return
wild |
public static function queryAll()
public static function queryAll()
Return
wild |
private static function queryRefs($refs)
private static function queryRefs($refs)
Parameters
array | $refs |
Return
wild |
public function newManagementConnection()
public function newManagementConnection()
Return
wild |
public function newApplicationConnection($database)
public function newApplicationConnection($database)
Parameters
$database |
Return
wild |
public function isSevered()
public function isSevered()
Return
wild |
public function isReachable($connection)
public function isReachable($connection)
Parameters
AphrontDatabaseConnection | $connection |
Return
wild |
public function checkHealth()
public function checkHealth()
Return
wild |
private function getHealthRecordCacheKey()
private function getHealthRecordCacheKey()
Return
wild |
public function getHealthRecord()
public function getHealthRecord()
Return
wild |
public function getConnectionException()
public function getConnectionException()
Return
wild |
public static function getActiveDatabaseRefs()
public static function getActiveDatabaseRefs()
Return
wild |
public static function getAllMasterDatabaseRefs()
public static function getAllMasterDatabaseRefs()
Return
wild |
public static function getMasterDatabaseRefs()
public static function getMasterDatabaseRefs()
Return
wild |
public function isApplicationHost($database)
public function isApplicationHost($database)
Parameters
$database |
Return
wild |
public function loadRawMySQLConfigValue($key)
public function loadRawMySQLConfigValue($key)
Parameters
$key |
Return
wild |
public static function getMasterDatabaseRefForApplication($application)
public static function getMasterDatabaseRefForApplication($application)
Parameters
$application |
Return
wild |
public static function newIndividualRef()
public static function newIndividualRef()
Return
wild |
public static function getAllReplicaDatabaseRefs()
public static function getAllReplicaDatabaseRefs()
Return
wild |
public static function getReplicaDatabaseRefs()
public static function getReplicaDatabaseRefs()
Return
wild |
private static function getEnabledRefs($refs)
private static function getEnabledRefs($refs)
Parameters
array | $refs |
Return
wild |
public static function getReplicaDatabaseRefForApplication($application)
public static function getReplicaDatabaseRefForApplication($application)
Parameters
$application |
Return
wild |
private function newConnection($options)
private function newConnection($options)
Parameters
array | $options |
Return
wild |
public static function newRawConnection($options)
public static function newRawConnection($options)
Parameters
array | $options |
Return
wild |