Sets the connections string held by this object and persists it.
| 52 | |
| 53 | // Sets the connections string held by this object and persists it. |
| 54 | Future<Void> ClusterConnectionFile::setAndPersistConnectionString(ClusterConnectionString const& conn) { |
| 55 | ASSERT(filename.size()); |
| 56 | cs = conn; |
| 57 | return success(persist()); |
| 58 | } |
| 59 | |
| 60 | // Get the connection string stored in the file. |
| 61 | Future<ClusterConnectionString> ClusterConnectionFile::getStoredConnectionString() { |
no test coverage detected