code: public void setCacheCapacity(int capacity) {
          if (capacity > 0) {
              cache = new ConcurrentLinkedHashMap<K, V>(capacity);
          } else {
              cache = new ConcurrentHashMap<K, V>();
          }
      }
docs: httl.properties: cache.capacity=1000