code: @Trivial
      public static DCache getCache(String cacheName) {
  
          final String methodName = "getCache()";
          DCache cacheOut = ServerCache.cache;
  
          if (cacheName != null) {
              cacheName = normalizeCacheName(cacheName, null);
          }
  
          if (cacheName != null && !cacheName.equalsIgnoreCase(DCacheBase.DEFAULT_CACHE_NAME)) {
              cacheOut = cacheInstances.get(cacheName);
          }
  
          if (cacheOut == null && TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
              Tr.debug(tc, methodName + " could not find cache for cacheName=" + cacheName);
          }
  
          return cacheOut;
      }
docs: Get a named cache. Caller must check for null return.
  
  @param cacheName
  The name of the cache instance or null for base cache.
  @return The cache object or null if the named cache has not yet been created.