2022-04-20 22:54:27 +02:00
|
|
|
package de.bluecolored.bluemap.core.storage.sql;
|
|
|
|
|
|
|
|
import de.bluecolored.bluemap.core.storage.Compression;
|
|
|
|
|
|
|
|
import java.net.MalformedURLException;
|
|
|
|
import java.net.URL;
|
2022-08-21 00:28:40 +02:00
|
|
|
import java.util.Map;
|
2022-04-20 22:54:27 +02:00
|
|
|
import java.util.Optional;
|
|
|
|
|
|
|
|
public interface SQLStorageSettings {
|
|
|
|
|
|
|
|
Optional<URL> getDriverJar() throws MalformedURLException;
|
|
|
|
|
|
|
|
Optional<String> getDriverClass();
|
|
|
|
|
2022-08-17 23:27:56 +02:00
|
|
|
String getConnectionUrl();
|
2022-04-20 22:54:27 +02:00
|
|
|
|
2022-08-21 00:28:40 +02:00
|
|
|
Map<String, String> getConnectionProperties();
|
|
|
|
|
|
|
|
int getMaxConnections();
|
|
|
|
|
2022-04-20 22:54:27 +02:00
|
|
|
Compression getCompression();
|
|
|
|
|
|
|
|
}
|