Mineplex2018-withcommit/Plugins/Mineplex.ServerData
Conrad 421eb12228 Add jedis pool caching.
This commit seeks to reduce the number of idle connections to redis that
our code uses by making clients share thread-safe connection pools
(which is the point of a connection pool). This only changes utility
methods to generate and access jedis pools, and does not seek to address
any issues relating to the use of the connections that may or may not be
causing problems.

The changes are as follows:
1. Add a static cache of all connection pools - Each connection pool is
distinguished by its ip and port. Two requested connections to the same
ip:port combinations will use the same connection pool.
2. Increase the max size of each pool to 20 - Overall, by having fewer
idle connections, this commit should still end up with fewer connections
going at any given time.
3. Make explicit setting to block while waiting for a connection - This
should already be the default, but it is made explicit just in case.
2015-07-27 08:50:04 -04:00
..
.externalToolBuilders Fixes again for number player names. 2015-01-03 04:27:28 -06:00
src/mineplex/serverdata Add jedis pool caching. 2015-07-27 08:50:04 -04:00
.classpath Treasure changes :O 2015-02-09 20:24:20 +13:00
.project Add new Mineplex.ServerData library for interfacing with the ServerRepository, and modify Mineplex.ServerMonitor, Mineplex.Bungee.Mineplexer and Mineplex.Core to integrate changes. 2014-08-01 17:56:29 -04:00
build.xml Add new Mineplex.ServerData library for interfacing with the ServerRepository, and modify Mineplex.ServerMonitor, Mineplex.Bungee.Mineplexer and Mineplex.Core to integrate changes. 2014-08-01 17:56:29 -04:00
Mineplex.ServerData.iml Updated IntelliJ environment to be compatible with latest changes 2014-08-15 15:51:29 -04:00