Uses of Interface
org.telegram.abilitybots.api.db.DBContext
-
Packages that use DBContext Package Description org.telegram.abilitybots.api.bot org.telegram.abilitybots.api.db org.telegram.abilitybots.api.util -
-
Uses of DBContext in org.telegram.abilitybots.api.bot
Fields in org.telegram.abilitybots.api.bot declared as DBContext Modifier and Type Field Description protected DBContextBaseAbilityBot. dbConstructors in org.telegram.abilitybots.api.bot with parameters of type DBContext Constructor Description AbilityBot(String botToken, String botUsername, DBContext db)AbilityBot(String botToken, String botUsername, DBContext db, DefaultBotOptions botOptions)AbilityWebhookBot(String botToken, String botUsername, String botPath, DBContext db)AbilityWebhookBot(String botToken, String botUsername, String botPath, DBContext db, DefaultBotOptions botOptions)BaseAbilityBot(String botToken, String botUsername, DBContext db, DefaultBotOptions botOptions) -
Uses of DBContext in org.telegram.abilitybots.api.db
Classes in org.telegram.abilitybots.api.db that implement DBContext Modifier and Type Class Description classMapDBContextAn implementation ofDBContextthat relies on aDB.Methods in org.telegram.abilitybots.api.db that return DBContext Modifier and Type Method Description static DBContextMapDBContext. offlineInstance(String name)This DB returned by this method gets deleted on JVM shutdown.static DBContextMapDBContext. onlineInstance(String name)This DB returned by this method does not trigger deletion on JVM shutdown. -
Uses of DBContext in org.telegram.abilitybots.api.util
Methods in org.telegram.abilitybots.api.util with parameters of type DBContext Modifier and Type Method Description static Consumer<MessageContext>AbilityUtils. commitTo(DBContext db)Commits to DB.
-