code: private static void appendKeyValue(StringBuffer str, String key, String value) {
  
          str.append(key);
          if (value == IS_USED) {
              str.append(";");
          } else {
              str.append("=(");
              str.append(value);
              str.append(");");
          }
      }
docs: Appends a flex cache key value to the given buffer.<p>
  
  @param str the buffer to append to
  @param key the key to append
  @param value the value to append