code: public void dumpKeys(StringBuffer buffer) {
  
          synchronized (this) {
              for (Map.Entry<String, CmsFlexCacheVariation> entry : synchronizedCopyMap(m_keyCache).entrySet()) {
                  String key = entry.getKey();
                  CmsFlexCacheVariation variations = entry.getValue();
                  Map<String, I_CmsLruCacheObject> variationMap = variations.m_map;
                  for (Map.Entry<String, I_CmsLruCacheObject> varEntry : variationMap.entrySet()) {
                      String varKey = varEntry.getKey();
                      I_CmsLruCacheObject value = varEntry.getValue();
                      buffer.append(key + " VAR " + varKey + "\n");
                      if (value instanceof CmsFlexCacheEntry) {
                          CmsFlexCacheEntry singleCacheEntry = (CmsFlexCacheEntry)value;
                          BucketSet buckets = singleCacheEntry.getBucketSet();
                          if (buckets != null) {
                              buffer.append("buckets = " + buckets.toString() + "\n");
                          }
                      }
                  }
              }
          }
      }
docs: Dumps keys and variations to a string buffer, for debug purposes.<p>
  
  @param buffer the buffer to which the key information should be written