// Copyright (c) 2020 UWB & LESP.
// The UWB & LESP license this file to you under the MIT license.

package cz.senslog.connector.app.config.api;

import java.io.IOException;

/**
 * The interface {@code DatabaseConfigurationService} provides functionality
 * which is mandatory only for a database and is important to use it correctly.
 *
 * @author Lukas Cerny
 * @version 1.0
 * @since 1.0
 */
public interface DatabaseConfigurationService extends ConfigurationService {

    /**
     * Creates a new connection to the database.
     * @throws IOException throws if the connection is not created successfully.
     */
    void connect() throws IOException;
}