Module watamebot

Interface IDatabaseManager

All Superinterfaces:
AutoCloseable
All Known Implementing Classes:
DatabaseManager

public interface IDatabaseManager extends AutoCloseable
  • Method Details

    • isReady

      boolean isReady()
      Check if all guild data has been processed and is ready for use.
      Returns:
      Returns true when all data has been loaded from the database
    • register

      boolean register(@Nonnull Plugin owningPlugin, @Nonnull AbstractDatabase database) throws IOException
      Throws:
      IOException
    • isDatabaseRegistered

      boolean isDatabaseRegistered(@Nonnull AbstractDatabase database)
    • getName

      @Nonnull String getName()