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 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 instance
      configuration - The configuration settings
      Since:
      1.6.0
  • Method Details

    • connect

      @Nullable public @Nullable Connection connect()
      Deprecated.
      Opens a connection to the data source.
      Specified by:
      connect in interface ConnectionManager
      Returns:
      The connection to the data source.
      Since:
      1.6.0