code: public void init() {
          int numProcessors = Runtime.getRuntime().availableProcessors();
          cacheRedisClientPools = CacheBuilder.newBuilder().concurrencyLevel(numProcessors)
                  .expireAfterAccess(3600, TimeUnit.SECONDS)
                  .removalListener(new RemovalListener<String, JedisClientPool>() {
                      @Override
                      public void onRemoval(RemovalNotification<String, JedisClientPool> notification) {
                          JedisClientPool pool = notification.getValue();
                          pool.destroy();
                      }
                  }).build();
      }
docs: Initializes the factory.