code: public void clear()
      {
          Iterator it = cachesByClass.values().iterator();
          while (it.hasNext())
          {
              ObjectCache cache = (ObjectCache) it.next();
              if (cache != null)
              {
                  cache.clear();
              }
          }
      }
docs: Clears the cache