Interface DistributedDbService
-
- All Superinterfaces:
AutoCloseable
- All Known Implementing Classes:
DistributedDbServiceClient
@Generated(value="OracleSDKGenerator", comments="API Version: 20260101") public interface DistributedDbService extends AutoCloseableUse the Globally Distributed Database service APIs to create and manage the Globally distributed databases.This service client uses CircuitBreakerUtils.DEFAULT_CIRCUIT_BREAKER for all the operations by default if no circuit breaker configuration is defined by the user.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AddDistributedDatabaseGdsControlNodeResponseaddDistributedDatabaseGdsControlNode(AddDistributedDatabaseGdsControlNodeRequest request)Add new Global database services control(GDS CTL) node for the Globally distributed database.ChangeDistributedDatabaseCompartmentResponsechangeDistributedDatabaseCompartment(ChangeDistributedDatabaseCompartmentRequest request)Move the Globally distributed database and its dependent resources to the specified compartment.ChangeDistributedDbBackupConfigResponsechangeDistributedDbBackupConfig(ChangeDistributedDbBackupConfigRequest request)Change the DbBackupConfig for the Globally distributed database.ConfigureDistributedDatabaseAutoResourceManagementResponseconfigureDistributedDatabaseAutoResourceManagement(ConfigureDistributedDatabaseAutoResourceManagementRequest request)Configure autoResourceManagement options for the Globally distributed database.ConfigureDistributedDatabaseGsmsResponseconfigureDistributedDatabaseGsms(ConfigureDistributedDatabaseGsmsRequest request)Configure new Global Service Manager(GSM aka shard manager) instances for the Globally distributed database.ConfigureDistributedDatabaseShardingResponseconfigureDistributedDatabaseSharding(ConfigureDistributedDatabaseShardingRequest request)Once all components of Globally distributed database are provisioned, and signed GSM certificates are successfully uploaded, this api shall be invoked to configure sharding on the Globally distributed database.CreateDistributedDatabaseResponsecreateDistributedDatabase(CreateDistributedDatabaseRequest request)Creates a Globally distributed database.DeleteDistributedDatabaseResponsedeleteDistributedDatabase(DeleteDistributedDatabaseRequest request)Terminate the given Globally distributed database.GenerateDistributedDatabaseWalletResponsegenerateDistributedDatabaseWallet(GenerateDistributedDatabaseWalletRequest request)Generate the wallet associated with Globally distributed database.GetDistributedDatabaseResponsegetDistributedDatabase(GetDistributedDatabaseRequest request)Gets the details of the Globally distributed database identified by given id.GetDistributedDatabaseRaftMetricResponsegetDistributedDatabaseRaftMetric(GetDistributedDatabaseRaftMetricRequest request)Operation to retrieve RAFT metrics for the Globally distributed database.GetDistributedDatabaseRuChangeLogResponsegetDistributedDatabaseRuChangeLog(GetDistributedDatabaseRuChangeLogRequest request)Operation to retrieve move RU invocation history and status for the Globally distributed database.StringgetEndpoint()Gets the set endpoint for REST call (ex, https://www.example.com)DistributedDbServicePaginatorsgetPaginators()Gets the pre-configured paginators available for list operations in this service which may return multiple pages of data.DistributedDbServiceWaitersgetWaiters()Gets the pre-configured waiters available for resources for this service.ListDistributedDatabasesResponselistDistributedDatabases(ListDistributedDatabasesRequest request)List of Globally distributed databases.MoveDistributedDatabaseReplicationUnitResponsemoveDistributedDatabaseReplicationUnit(MoveDistributedDatabaseReplicationUnitRequest request)Move the replication units for RAFT based globally distributed database from source shard to destination shard.PatchDistributedDatabaseResponsepatchDistributedDatabase(PatchDistributedDatabaseRequest request)Patch operation to add, remove or update shards to the Globally distributed database topology.RecreateFailedDistributedDatabaseResourceResponserecreateFailedDistributedDatabaseResource(RecreateFailedDistributedDatabaseResourceRequest request)Recreate the failed resource for the Globally Distributed Database.voidrefreshClient()Rebuilds the client from scratch.RotateDistributedDatabasePasswordsResponserotateDistributedDatabasePasswords(RotateDistributedDatabasePasswordsRequest request)Rotate the gsmuser and gsmcatuser passwords for shards and catalog of the Globally distributed database.ScaleDistributedDatabaseGsmsResponsescaleDistributedDatabaseGsms(ScaleDistributedDatabaseGsmsRequest request)Scale global service manager(GSM aka shard manager) instances for the Globally distributed database.voidsetEndpoint(String endpoint)Sets the endpoint to call (ex, https://www.example.com).voidsetRegion(Region region)Sets the region to call (ex, Region.US_PHOENIX_1).voidsetRegion(String regionId)Sets the region to call (ex, ‘us-phoenix-1’).StartDistributedDatabaseResponsestartDistributedDatabase(StartDistributedDatabaseRequest request)Start the shards, catalog, GSMs and GDSCTL instances of Globally distributed database.StopDistributedDatabaseResponsestopDistributedDatabase(StopDistributedDatabaseRequest request)Stop the shards, catalog, GSMs and GDSCTL instances for the Globally distributed database.UpdateDistributedDatabaseResponseupdateDistributedDatabase(UpdateDistributedDatabaseRequest request)Updates the configuration of the Globally distributed database.voiduseRealmSpecificEndpointTemplate(boolean realmSpecificEndpointTemplateEnabled)Determines whether realm specific endpoint should be used or not.ValidateDistributedDatabaseNetworkResponsevalidateDistributedDatabaseNetwork(ValidateDistributedDatabaseNetworkRequest request)Validate the network connectivity between components of the globally distributed database.-
Methods inherited from interface java.lang.AutoCloseable
close
-
-
-
-
Method Detail
-
refreshClient
void refreshClient()
Rebuilds the client from scratch.Useful to refresh certificates.
-
setEndpoint
void setEndpoint(String endpoint)
Sets the endpoint to call (ex, https://www.example.com).- Parameters:
endpoint- The endpoint of the service.
-
getEndpoint
String getEndpoint()
Gets the set endpoint for REST call (ex, https://www.example.com)
-
setRegion
void setRegion(Region region)
Sets the region to call (ex, Region.US_PHOENIX_1).Note, this will call
setEndpointafter resolving the endpoint. If the service is not available in this Region, however, an IllegalArgumentException will be raised.- Parameters:
region- The region of the service.
-
setRegion
void setRegion(String regionId)
Sets the region to call (ex, ‘us-phoenix-1’).Note, this will first try to map the region ID to a known Region and call
setRegion.If no known Region could be determined, it will create an endpoint based on the default endpoint format (
Region.formatDefaultRegionEndpoint(Service, String)and then callsetEndpoint.- Parameters:
regionId- The public region ID.
-
useRealmSpecificEndpointTemplate
void useRealmSpecificEndpointTemplate(boolean realmSpecificEndpointTemplateEnabled)
Determines whether realm specific endpoint should be used or not.Set realmSpecificEndpointTemplateEnabled to “true” if the user wants to enable use of realm specific endpoint template, otherwise set it to “false”
- Parameters:
realmSpecificEndpointTemplateEnabled- flag to enable the use of realm specific endpoint template
-
addDistributedDatabaseGdsControlNode
AddDistributedDatabaseGdsControlNodeResponse addDistributedDatabaseGdsControlNode(AddDistributedDatabaseGdsControlNodeRequest request)
Add new Global database services control(GDS CTL) node for the Globally distributed database.- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.94.1/distributeddatabasev26/AddDistributedDatabaseGdsControlNodeExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use AddDistributedDatabaseGdsControlNode API.
-
changeDistributedDatabaseCompartment
ChangeDistributedDatabaseCompartmentResponse changeDistributedDatabaseCompartment(ChangeDistributedDatabaseCompartmentRequest request)
Move the Globally distributed database and its dependent resources to the specified compartment.- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.94.1/distributeddatabasev26/ChangeDistributedDatabaseCompartmentExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ChangeDistributedDatabaseCompartment API.
-
changeDistributedDbBackupConfig
ChangeDistributedDbBackupConfigResponse changeDistributedDbBackupConfig(ChangeDistributedDbBackupConfigRequest request)
Change the DbBackupConfig for the Globally distributed database.- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.94.1/distributeddatabasev26/ChangeDistributedDbBackupConfigExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ChangeDistributedDbBackupConfig API.
-
configureDistributedDatabaseAutoResourceManagement
ConfigureDistributedDatabaseAutoResourceManagementResponse configureDistributedDatabaseAutoResourceManagement(ConfigureDistributedDatabaseAutoResourceManagementRequest request)
Configure autoResourceManagement options for the Globally distributed database.- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.94.1/distributeddatabasev26/ConfigureDistributedDatabaseAutoResourceManagementExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ConfigureDistributedDatabaseAutoResourceManagement API.
-
configureDistributedDatabaseGsms
ConfigureDistributedDatabaseGsmsResponse configureDistributedDatabaseGsms(ConfigureDistributedDatabaseGsmsRequest request)
Configure new Global Service Manager(GSM aka shard manager) instances for the Globally distributed database.- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.94.1/distributeddatabasev26/ConfigureDistributedDatabaseGsmsExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ConfigureDistributedDatabaseGsms API.
-
configureDistributedDatabaseSharding
ConfigureDistributedDatabaseShardingResponse configureDistributedDatabaseSharding(ConfigureDistributedDatabaseShardingRequest request)
Once all components of Globally distributed database are provisioned, and signed GSM certificates are successfully uploaded, this api shall be invoked to configure sharding on the Globally distributed database.Note that this ‘ConfigureSharding’ API also needs to be invoked after successfully adding a new shard to the Globally distributed database using PATCH api. If this API is not invoked after successfully adding a new shard, then that new shard will not be a participant in sharding topology of the Globally distributed database.
- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.94.1/distributeddatabasev26/ConfigureDistributedDatabaseShardingExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ConfigureDistributedDatabaseSharding API.
-
createDistributedDatabase
CreateDistributedDatabaseResponse createDistributedDatabase(CreateDistributedDatabaseRequest request)
Creates a Globally distributed database.- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.94.1/distributeddatabasev26/CreateDistributedDatabaseExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use CreateDistributedDatabase API.
-
deleteDistributedDatabase
DeleteDistributedDatabaseResponse deleteDistributedDatabase(DeleteDistributedDatabaseRequest request)
Terminate the given Globally distributed database.- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.94.1/distributeddatabasev26/DeleteDistributedDatabaseExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use DeleteDistributedDatabase API.
-
generateDistributedDatabaseWallet
GenerateDistributedDatabaseWalletResponse generateDistributedDatabaseWallet(GenerateDistributedDatabaseWalletRequest request)
Generate the wallet associated with Globally distributed database.- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.94.1/distributeddatabasev26/GenerateDistributedDatabaseWalletExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use GenerateDistributedDatabaseWallet API.
-
getDistributedDatabase
GetDistributedDatabaseResponse getDistributedDatabase(GetDistributedDatabaseRequest request)
Gets the details of the Globally distributed database identified by given id.- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.94.1/distributeddatabasev26/GetDistributedDatabaseExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use GetDistributedDatabase API.
-
getDistributedDatabaseRaftMetric
GetDistributedDatabaseRaftMetricResponse getDistributedDatabaseRaftMetric(GetDistributedDatabaseRaftMetricRequest request)
Operation to retrieve RAFT metrics for the Globally distributed database.If the Globally distributed database is not RAFT based then empty response is returned from the API.
- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.94.1/distributeddatabasev26/GetDistributedDatabaseRaftMetricExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use GetDistributedDatabaseRaftMetric API.
-
getDistributedDatabaseRuChangeLog
GetDistributedDatabaseRuChangeLogResponse getDistributedDatabaseRuChangeLog(GetDistributedDatabaseRuChangeLogRequest request)
Operation to retrieve move RU invocation history and status for the Globally distributed database.Results are ordered by created timestamp in descending order.
- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.94.1/distributeddatabasev26/GetDistributedDatabaseRuChangeLogExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use GetDistributedDatabaseRuChangeLog API.
-
listDistributedDatabases
ListDistributedDatabasesResponse listDistributedDatabases(ListDistributedDatabasesRequest request)
List of Globally distributed databases.- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.94.1/distributeddatabasev26/ListDistributedDatabasesExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListDistributedDatabases API.
-
moveDistributedDatabaseReplicationUnit
MoveDistributedDatabaseReplicationUnitResponse moveDistributedDatabaseReplicationUnit(MoveDistributedDatabaseReplicationUnitRequest request)
Move the replication units for RAFT based globally distributed database from source shard to destination shard.- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.94.1/distributeddatabasev26/MoveDistributedDatabaseReplicationUnitExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use MoveDistributedDatabaseReplicationUnit API.
-
patchDistributedDatabase
PatchDistributedDatabaseResponse patchDistributedDatabase(PatchDistributedDatabaseRequest request)
Patch operation to add, remove or update shards to the Globally distributed database topology.In single patch operation, multiple shards can be either added, or removed or updated. Combination of inserts, update and remove in single operation is not allowed.
- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.94.1/distributeddatabasev26/PatchDistributedDatabaseExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use PatchDistributedDatabase API.
-
recreateFailedDistributedDatabaseResource
RecreateFailedDistributedDatabaseResourceResponse recreateFailedDistributedDatabaseResource(RecreateFailedDistributedDatabaseResourceRequest request)
Recreate the failed resource for the Globally Distributed Database.- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.94.1/distributeddatabasev26/RecreateFailedDistributedDatabaseResourceExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use RecreateFailedDistributedDatabaseResource API.
-
rotateDistributedDatabasePasswords
RotateDistributedDatabasePasswordsResponse rotateDistributedDatabasePasswords(RotateDistributedDatabasePasswordsRequest request)
Rotate the gsmuser and gsmcatuser passwords for shards and catalog of the Globally distributed database.This operation will also remove GdsCtlNodes if present.
- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.94.1/distributeddatabasev26/RotateDistributedDatabasePasswordsExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use RotateDistributedDatabasePasswords API.
-
scaleDistributedDatabaseGsms
ScaleDistributedDatabaseGsmsResponse scaleDistributedDatabaseGsms(ScaleDistributedDatabaseGsmsRequest request)
Scale global service manager(GSM aka shard manager) instances for the Globally distributed database.- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.94.1/distributeddatabasev26/ScaleDistributedDatabaseGsmsExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ScaleDistributedDatabaseGsms API.
-
startDistributedDatabase
StartDistributedDatabaseResponse startDistributedDatabase(StartDistributedDatabaseRequest request)
Start the shards, catalog, GSMs and GDSCTL instances of Globally distributed database.- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.94.1/distributeddatabasev26/StartDistributedDatabaseExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use StartDistributedDatabase API.
-
stopDistributedDatabase
StopDistributedDatabaseResponse stopDistributedDatabase(StopDistributedDatabaseRequest request)
Stop the shards, catalog, GSMs and GDSCTL instances for the Globally distributed database.- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.94.1/distributeddatabasev26/StopDistributedDatabaseExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use StopDistributedDatabase API.
-
updateDistributedDatabase
UpdateDistributedDatabaseResponse updateDistributedDatabase(UpdateDistributedDatabaseRequest request)
Updates the configuration of the Globally distributed database.- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.94.1/distributeddatabasev26/UpdateDistributedDatabaseExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use UpdateDistributedDatabase API.
-
validateDistributedDatabaseNetwork
ValidateDistributedDatabaseNetworkResponse validateDistributedDatabaseNetwork(ValidateDistributedDatabaseNetworkRequest request)
Validate the network connectivity between components of the globally distributed database.- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.94.1/distributeddatabasev26/ValidateDistributedDatabaseNetworkExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ValidateDistributedDatabaseNetwork API.
-
getWaiters
DistributedDbServiceWaiters getWaiters()
Gets the pre-configured waiters available for resources for this service.- Returns:
- The service waiters.
-
getPaginators
DistributedDbServicePaginators getPaginators()
Gets the pre-configured paginators available for list operations in this service which may return multiple pages of data.These paginators provide an
Iterableinterface so that service responses, or resources/records, can be iterated through without having to manually deal with pagination and page tokens.- Returns:
- The service paginators.
-
-