code: public void onRequest(String template, int source) {
          final String methodName = "onRequest()";
  
          CacheStatsModule csm = null;
          if ((csm = getCSM(template)) == null) {
              return;
          }
          if (tc.isDebugEnabled())
              Tr.debug(tc, methodName + " cacheName=" + _sCacheName + " template=" + template + " source=" + source + " enable=" + csm._enable + " "
                      + this);
          if (csm._enable) {
              if (source == LOCAL) {
                  if (csm._clientRequestCount != null)
                      csm._clientRequestCount.increment();
              } else if (source == REMOTE) {
                  if (csm._distributedRequestCount != null)
                      csm._distributedRequestCount.increment();
              }
          }
          return;
      }
docs: /*
  registers that a request came into the cache for a cacheable object
  
  @param template the template of the cache entry. The template cannot be null for Servlet cache.
  
  @param source whether the invalidation was generated internally or remotely