class JedisPoolFacade extends AbstractJedisFacade {

  @Override
  public void psubscribe(final RedisPubSub listener, String pattern) {
    BinaryJedisPubSub bps = new BinaryJedisPubSub() {
      @Override
      public void onPMessage(byte[] pattern, byte[] channel, byte[] message) {
        listener.onPMessage(pattern, channel, message);
      }
    };
    listener.link(bps);
    jedis().psubscribe(bps, encode(pattern));
  }

    JedisPoolFacade(Pool<Jedis> jedisPool);

}