DatabaseAccountManagerInternal Interface
public interface DatabaseAccountManagerInternal
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract
Connection |
getConnectionPolicy()
Gets the connection policy |
abstract
Database |
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
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應