Class SqliteMethod
java.lang.Object
us.ajg0702.leaderboards.cache.methods.SqliteMethod
- All Implemented Interfaces:
CacheMethod
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose(Connection connection) intgetName()voidinit(LeaderboardPlugin plugin, us.ajg0702.utils.common.ConfigFile config, Cache cacheInstance) voidbooleanvoidshutdown()
-
Constructor Details
-
SqliteMethod
public SqliteMethod()
-
-
Method Details
-
getConnection
- Specified by:
getConnectionin interfaceCacheMethod
-
init
public void init(LeaderboardPlugin plugin, us.ajg0702.utils.common.ConfigFile config, Cache cacheInstance) - Specified by:
initin interfaceCacheMethod
-
close
- Specified by:
closein interfaceCacheMethod
-
getMaxConnections
public int getMaxConnections()- Specified by:
getMaxConnectionsin interfaceCacheMethod
-
shutdown
public void shutdown()- Specified by:
shutdownin interfaceCacheMethod
-
formatStatement
- Specified by:
formatStatementin interfaceCacheMethod
-
getName
- Specified by:
getNamein interfaceCacheMethod
-
requiresClose
public boolean requiresClose()- Specified by:
requiresClosein interfaceCacheMethod
-
newConnection
public void newConnection()
-