code: public static long getTxInfoCacheWeight(FluoConfiguration conf) {
      long size = conf.getLong(TX_INFO_CACHE_WEIGHT, TX_INFO_CACHE_WEIGHT_DEFAULT);
      if (size <= 0) {
        throw new IllegalArgumentException("Cache size must be positive for " + TX_INFO_CACHE_WEIGHT);
      }
      return size;
    }
docs: Gets the txinfo cache weight
  
  @param conf The FluoConfiguration
  @return The size of the cache value from the property value {@value #TX_INFO_CACHE_WEIGHT} if
  it is set, else the value of the default value {@value #TX_INFO_CACHE_WEIGHT_DEFAULT}