- All Known Implementing Classes:
DataManager
public interface IDatabaseManager
-
Method Summary
Modifier and TypeMethodDescriptiongetDataForGuild(net.dv8tion.jda.api.entities.Guild guild) NEED_JAVADOCbooleanCheck if the database is connected and is ready for operations.booleanisReady()Check if all guild data has been processed and is ready for use.
-
Method Details
-
isConnectionValid
boolean isConnectionValid()Check if the database is connected and is ready for operations.- Returns:
- Returns
trueif is connected and ready
-
isReady
boolean isReady()Check if all guild data has been processed and is ready for use.- Returns:
- Returns
truewhen all data has been loaded from the database - See Also:
-
getDataForGuild
NEED_JAVADOC- Parameters:
guild-- Returns:
- Throws:
NullPointerException- ifguildis null
-