docs: public static void addToCache(HttpServletRequest req, RequestProcessor s, WebApp app) {
          //Begin 253010  
          // check if cache is full
          if (_cacheSize.get() >= invocationCacheSize) {
              if (com.ibm.ejs.ras.TraceComponent.isAnyTracingEnabled() && logger.isLoggable(Level.FINE)) //306998.15
              {
                  logger.logp(Level.FINE, CLASS_NAME, "addToCache", "cache is full");
              }
              return;
          }
  
          if (com.ibm.ejs.ras.TraceComponent.isAnyTracingEnabled() && logger.isLoggable(Level.FINE)) //306998.15
          {
              logger.logp(Level.FINE, CLASS_NAME, "addToCache", "WebApp = " + app);
          }
  
          // PK80333 Start
          if (app.getDestroyed()) {
              if (com.ibm.ejs.ras.TraceComponent.isAnyTracingEnabled() && logger.isLoggable(Level.FINE)) //306998.15
              {
                  logger.logp(Level.FINE, CLASS_NAME, "addToCache", "Not caching as the webapp is destroyed");
              }
              return;
          }
          // PK80333 End
  
          StringBuilder cacheKey = (StringBuilder) cacheKeyStringBuilder.get();
          if (cacheKey == null) {
              if (com.ibm.ejs.ras.TraceComponent.isAnyTracingEnabled() && logger.isLoggable(Level.FINE)) //306998.15
              {
                  logger.logp(Level.FINE, CLASS_NAME, "addToCache", "cache key is null");
              }
              return;
          }
          String cacheKeyStr = cacheKey.toString();
          // Servlet 4.0 : Use CacheServletWrapperFactory
          CacheServletWrapper wrapper =  cacheServletWrapperFactory.createCacheServletWrapper((IServletWrapper) s, req, cacheKeyStr, app);
          if (_cacheMap.putIfAbsent(cacheKeyStr, wrapper) != null) {
              if (com.ibm.ejs.ras.TraceComponent.isAnyTracingEnabled() && logger.isLoggable(Level.FINE)) //306998.15
              {
                  logger.logp(Level.FINE, CLASS_NAME, "addToCache", "Already cached cacheKey --> " + cacheKey);
              }
          } else {
              ((IServletWrapper)s).addServletReferenceListener(wrapper);
              // keep a rough count of the number of items in the cache
              _cacheSize.incrementAndGet();
              if (com.ibm.ejs.ras.TraceComponent.isAnyTracingEnabled() && logger.isLoggable(Level.FINE)) //306998.15 
              {
                  logger.logp(Level.FINE, CLASS_NAME, "addToCache", "Added to cache cacheKey --> " + cacheKey + " uri -->" + req.getRequestURI() + " servletWrapper -->"
                                                                        + ((IServletWrapper) s).getServletName());
              }
          }
          // End 253010
      }