Tux
87ab0e72fd
Relicensing under the Eclipse Public License.
2015-10-18 19:52:46 -04:00
Tux
21710fcd8e
Perform some code tweaks and fix some spelling.
2015-06-24 06:06:34 -04:00
Tux
682d180505
Fix the licensing.
2015-06-24 05:54:43 -04:00
Tux
32f0dffd85
Reformatting and corrected several comments and messages.
2015-06-24 05:51:40 -04:00
Tux
95a2a33781
Added basic expiry to cache and tests.
2015-06-23 23:17:50 -04:00
Tux
ff602bc5e6
Player/internal tweaks:
...
- Switch to BungeeCord task scheduler, since it's fixed.
- Moved player checks and such to LoginEvent. The login network event is still published from PostLoginEvent.
- Fix a typo. Whee.
2015-06-22 04:35:45 -04:00
Tux
4834b7826f
Use more efficient HMSET when possible.
2015-06-22 04:00:25 -04:00
Tux
b21c02eca0
If an expired UUID/name entry is found, also expunge the other entry.
2015-06-22 03:47:21 -04:00
Tux
85bb0cc14a
Move IOUtil to the util package (which is a better location).
2015-06-22 03:39:26 -04:00
Tux
8e6447c8e0
Reintroduce pipelining support.
2015-06-21 18:09:46 -04:00
Tux
8b5eacec40
Introduce a set of performance tweaks.
...
The most notable changes are a refactor of DataManager to make the caching system easier to tweak, and the ability to use Lua scripts that run on the Redis server to optimize certain batch operations (currently, only getServersToPlayers() uses this).
This also paves the way for me to deprecate old versions of Redis. Anything older than 2.6 is ancient, and even 2.6 is ancient, so it ends up being a net overall benefit.
2015-06-21 17:32:28 -04:00
Tux
27bf52f13d
Relicense under the Unlicense.
2015-06-09 19:37:01 -04:00
Tux
d68b2713c4
Seamlessly support offline-mode more effectively by always skipping Mojang lookups.
2015-06-06 17:23:51 -04:00
vemacs
06c3935c39
add test for UUIDFetcher
2015-02-10 08:04:03 -07:00
vemacs
a80c3b51e1
Add a test class
2015-02-04 08:02:30 -07:00
vemacs
b684064c92
Get last element
2015-02-04 07:55:45 -07:00
Tux
ba825c1880
Convert RedisBungee to okhttp.
2015-01-25 00:18:51 -05:00
Tux
b375b5402d
Fix some FindBugs issues.
2015-01-25 00:04:34 -05:00
Tux
f201cdc4e8
Make NameFetcher less hazardous to ones health.
2015-01-25 00:02:30 -05:00
vemacs
20ef1ee284
Use new-new method with a better ratelimit
2015-01-09 07:45:45 -07:00
vemacs
6511e2154f
Revert "Revert to old method as the new method has changed"
...
This reverts commit 16ce4eb696
.
2015-01-09 07:44:03 -07:00
Tux
16ce4eb696
Revert to old method as the new method has changed
2015-01-07 20:28:28 -05:00
Tux
5c9664c344
Use proper exception handling in UUIDTranslator.
2014-12-29 11:40:34 -05:00
Tux
5a0509ac48
Allow RedisBungee to give the console an IOException instead of a unhelpful exception + NPE combo.
2014-12-27 18:30:26 -05:00
vemacs
5010670d95
Remove cache, actually fix NameFetcher
2014-12-27 16:26:21 -07:00
vemacs
e13a8de1d7
Possibly fix namefetcher
2014-12-27 14:00:09 -07:00
Tux
e630116ff8
Better handling of improperly-fetched Jedis resources.
2014-11-26 17:26:51 -05:00
Tux
aa772ddf1b
Reformat source code.
2014-09-21 13:56:46 -04:00
Tux
e0ee2ada21
Migrate from the consumer model to ExecutorService. The consumer was not flexible and was less reliable.
2014-09-21 13:55:14 -04:00
Tux
bafe894298
Removed pipelining and other fixes.
2014-09-11 16:38:40 -04:00
Tux
ee778953e8
Don't use Date, instead use Calendar. I still want to sneak in LocalDate somehow...
2014-07-30 18:03:07 -04:00
Tux
13b62f7269
Do not cache username<->UUID mappings indefinitely.
...
Instead, we will cache them for three days, and we will recalculate them from fresh values taken while they were online or we ask Mojang for the information.
2014-07-30 13:46:39 -04:00
md_5
f9180dfb8d
Make use of Bungee scheduler for threaded operations.
2014-07-02 16:38:04 +10:00
Tux
527f76ac6b
Ran inspections on code. Fixed compile errors.
2014-05-30 23:57:42 -04:00
Tux
8bf80450ca
Forgot to get the writeLock()
2014-05-30 23:29:51 -04:00
Tux
a908e313d4
Enhance the UUIDTranslator and add an option to increase performance.
2014-05-30 23:22:31 -04:00
Tux
92971fce96
Properly scope exceptions
2014-05-28 18:29:44 -04:00
Tux
bb71dd674f
Correctly mark the UUID/name methods as NonNull
2014-05-28 02:06:17 -04:00
Tux
0136699b40
Support Mojangian UUIDs
2014-05-23 10:53:38 -04:00
Tux
730b77f227
Allow UUIDs to be used in commands
2014-05-23 10:50:05 -04:00
Tux
ace0979201
Lowercase name -> UUID association
2014-04-26 22:28:17 -04:00
Tux
0a2b43e7dc
Make UUIDResolver properly deal with usernames
2014-04-26 19:43:40 -04:00
Tux
c5d35a2a1c
Better persistence of translated data
2014-04-23 18:05:42 -04:00
Tux
4aeb762c17
Fix UUIDTranslator bug, add UUID null checking, make plugin messaging asynchronous
2014-04-20 10:50:45 -04:00
Tux
1362739b27
RedisBungee 0.3 base code. A lot has changed. There is more to come.
2014-04-20 01:12:28 -04:00