|
RuneHive-Game
|
Static Public Member Functions | |
| static Connection | getConnection () throws SQLException |
| static HikariDataSource | getConnectionPool () |
| static void | start () throws Exception |
Static Private Attributes | |
| static HikariDataSource | connectionPool |
| static final Logger | logger = LogManager.getLogger(PostgreService.class) |
Definition at line 14 of file PostgreService.java.
|
static |
Definition at line 39 of file PostgreService.java.
References connectionPool, com.runehive.game.world.WorldType.LIVE, com.runehive.Config.POSTGRE_PASS, com.runehive.Config.POSTGRE_URL, com.runehive.Config.POSTGRE_USER, and com.runehive.Config.WORLD_TYPE.
|
static |
Definition at line 35 of file PostgreService.java.
References connectionPool.
Referenced by com.runehive.game.world.entity.mob.player.persist.PlayerPersistDB.load(), com.runehive.util.tools.ItemDBdefUpdate.main(), com.runehive.game.event.impl.log.ChatLogEvent.onLog(), com.runehive.game.event.impl.log.CommandLogEvent.onLog(), com.runehive.game.event.impl.log.DropItemLogEvent.onLog(), com.runehive.game.event.impl.log.PickupItemLogEvent.onLog(), com.runehive.game.event.impl.log.PrivateMessageChatLogEvent.onLog(), com.runehive.game.event.impl.log.TradeLogEvent.onLog(), and com.runehive.game.world.entity.mob.player.persist.PlayerPersistDB.save().
|
static |
Definition at line 20 of file PostgreService.java.
References connectionPool, logger, com.runehive.Config.POSTGRE_PASS, com.runehive.Config.POSTGRE_URL, and com.runehive.Config.POSTGRE_USER.
Referenced by com.runehive.RuneHive.start().
|
staticprivate |
Definition at line 18 of file PostgreService.java.
Referenced by getConnection(), getConnectionPool(), and start().
|
staticprivate |
Definition at line 16 of file PostgreService.java.
Referenced by start().