src/main/java/org/jboss/util/collection/WeakTypeCache.java
protected T peek(Class<?> clazz)
   {
      ClassLoader cl = SecurityActions.getClassLoader(clazz);
      Map<String, T> classLoaderCache = getClassLoaderCache(cl);

      synchronized (classLoaderCache)
      {
         return classLoaderCache.get(clazz.getName());
      }
   }
protected T peek(Class<?> clazz)
   {
      ClassLoader cl = SecurityActions.getClassLoader(clazz);
      Map<String, T> classLoaderCache = getClassLoaderCache(cl);

      synchronized (classLoaderCache)
      {
         return classLoaderCache.get(clazz.getName());
      }
   }
Peek into the cache

@param clazz the class
@return the value