Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- this.jedis = new Jedis(this.settings.getAddress(), this.settings.getPort());
- if(this.settings.isAuth()) {
- this.jedis.auth(this.settings.getPassword());
- }
- new Thread(() -> this.jedis.subscribe(this.pubSub, this.channel)).start();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement