|
The MongoDB\Driver\ServerDescription classはじめにThe MongoDB\Driver\ServerDescription class is a value object that represents a server to which the driver is connected. Instances of this class are returned by MongoDB\Driver\Server::getServerDescription and MongoDB\Driver\Monitoring\ServerChangedEvent methods. クラス概要MongoDB\Driver\ServerDescription
final
class MongoDB\Driver\ServerDescription
{
/* 定数 */
const
string
MongoDB\Driver\ServerDescription::TYPE_UNKNOWN = "Unknown";
const
string
MongoDB\Driver\ServerDescription::TYPE_STANDALONE = "Standalone";
const
string
MongoDB\Driver\ServerDescription::TYPE_MONGOS = "Mongos";
const
string
MongoDB\Driver\ServerDescription::TYPE_POSSIBLE_PRIMARY = "PossiblePrimary";
const
string
MongoDB\Driver\ServerDescription::TYPE_RS_PRIMARY = "RSPrimary";
const
string
MongoDB\Driver\ServerDescription::TYPE_RS_SECONDARY = "RSSecondary";
const
string
MongoDB\Driver\ServerDescription::TYPE_RS_ARBITER = "RSArbiter";
const
string
MongoDB\Driver\ServerDescription::TYPE_RS_OTHER = "RSOther";
const
string
MongoDB\Driver\ServerDescription::TYPE_RS_GHOST = "RSGhost";
const
string
MongoDB\Driver\ServerDescription::TYPE_LOAD_BALANCER = "LoadBalancer";
/* メソッド */
final public array getHelloResponse()
final public string getHost()
final public int getLastUpdateTime()
final public int getPort()
final public intnull getRoundTripTime()
final public string getType()
}定義済み定数
|