你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

DatabaseAccountManagerInternal Interface

public interface DatabaseAccountManagerInternal

Method Summary

Modifier and Type Method and Description
abstract ConnectionPolicy getConnectionPolicy()

Gets the connection policy

abstract DatabaseAccount getDatabaseAccountFromEndpoint(URI endpoint)

Gets database account information.

abstract java.net.URI getServiceEndpoint()

Gets the service endpoint

Method Details

getConnectionPolicy

public abstract ConnectionPolicy getConnectionPolicy()

Gets the connection policy

Returns:

connection policy

getDatabaseAccountFromEndpoint

public abstract DatabaseAccount getDatabaseAccountFromEndpoint(URI endpoint)

Gets database account information.

Parameters:

endpoint - the endpoint from which gets the database account

Returns:

the database account.

Throws:

DocumentClientException - the document client exception.

getServiceEndpoint

public abstract URI getServiceEndpoint()

Gets the service endpoint

Returns:

service endpoint

Applies to