Property | Type | Description | |
---|---|---|---|
$address | string | The server's IP address. | |
$port | integer | The server's port. | |
$weight | integer | The server's weight. |
Method | Description | |
---|---|---|
getAddress ( ) : string | Returns the IP address the server listens to. | |
getPort ( ) : string | Returns the port the server listens to. | |
getWeight ( ) : integer | Returns weight the server has in the storage cluster. |
public getAddress ( ) : string | ||
return | string | the IP address the server listens to |