code: public int getSize() {
  		if (size < 0) {
  			size = logCache==null ? 0 : logCache.getSize();
  			size += traceCache==null ? 0 : traceCache.getSize();
  		}
  		return size;
  	}
docs: gets number of records in the result based on the information available in this cache.
  @return sum of sizes recorded in both log and trace caches