Class ConnectionPool
java.lang.Object
com.azure.spring.cloud.config.resource.ConnectionPool
Container for connection string of stores
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets Connection used to connect to the given endpoint.getAll()
Returns all Connections to App Configurationvoid
put
(String endpoint, Connection connectionString) Adds new connection to the Connection Poolvoid
Adds new connection to the Connection Pool
-
Constructor Details
-
ConnectionPool
public ConnectionPool()
-
-
Method Details
-
put
Adds new connection to the Connection Pool- Parameters:
endpoint
- App Configuration Store EndpointconnectionString
- Connection String to App Configuration
-
put
Adds new connection to the Connection Pool- Parameters:
endpoint
- App Configuration Store EndpointconnectionString
- Connection String to App Configuration
-
get
Gets Connection used to connect to the given endpoint.- Parameters:
endpoint
- App Configuration Endpoint- Returns:
- Connection to App Configuration
-
getAll
Returns all Connections to App Configuration- Returns:
- Map<String, Connection>
-