Class MySQLConnectionManager
java.lang.Object
dev.satyrn.papermc.api.storage.v1.MySQLConnectionManager
- All Implemented Interfaces:
ConnectionManager
@Deprecated(since="1.9.0")
public class MySQLConnectionManager
extends Object
implements ConnectionManager
Deprecated.
Handles connections to a MySQL-like data source.
- Since:
- 1.6.0
- Author:
- Isabel Maskrey
-
Constructor Summary
ConstructorDescriptionMySQLConnectionManager
(@NotNull org.bukkit.plugin.Plugin plugin, @NotNull MySQLConfiguration configuration) Deprecated.Creates a new connection manager -
Method Summary
Modifier and TypeMethodDescription@Nullable Connection
connect()
Deprecated.Opens a connection to the data source.
-
Constructor Details
-
MySQLConnectionManager
public MySQLConnectionManager(@NotNull @NotNull org.bukkit.plugin.Plugin plugin, @NotNull @NotNull MySQLConfiguration configuration) Deprecated.Creates a new connection manager- Parameters:
plugin
- The plugin instanceconfiguration
- The configuration settings- Since:
- 1.6.0
-
-
Method Details
-
connect
Deprecated.Opens a connection to the data source.- Specified by:
connect
in interfaceConnectionManager
- Returns:
- The connection to the data source.
- Since:
- 1.6.0
-