Class H2Method
java.lang.Object
us.ajg0702.leaderboards.cache.methods.H2Method
- All Implemented Interfaces:
CacheMethod
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close
(Connection connection) int
getName()
void
init
(LeaderboardPlugin plugin, us.ajg0702.utils.common.ConfigFile config, Cache cacheInstance) void
boolean
void
shutdown()
-
Constructor Details
-
H2Method
public H2Method()
-
-
Method Details
-
getConnection
- Specified by:
getConnection
in interfaceCacheMethod
-
init
public void init(LeaderboardPlugin plugin, us.ajg0702.utils.common.ConfigFile config, Cache cacheInstance) - Specified by:
init
in interfaceCacheMethod
-
close
- Specified by:
close
in interfaceCacheMethod
-
getMaxConnections
public int getMaxConnections()- Specified by:
getMaxConnections
in interfaceCacheMethod
-
shutdown
public void shutdown()- Specified by:
shutdown
in interfaceCacheMethod
-
formatStatement
- Specified by:
formatStatement
in interfaceCacheMethod
-
getName
- Specified by:
getName
in interfaceCacheMethod
-
requiresClose
public boolean requiresClose()- Specified by:
requiresClose
in interfaceCacheMethod
-
newConnection
public void newConnection()
-