package com.perforce.common.journal;
import com.perforce.common.ConverterException;
import com.perforce.common.schema.JournalRecord;
public class BuildCounter {
public static String toJournal(String key, String value)
throws ConverterException {
StringBuffer sb = new StringBuffer();
JournalRecord dbCounters = new JournalRecord("rv", "db.counters", 1);
dbCounters.addField("name", key);
dbCounters.addField("value", value);
sb.append(dbCounters.toJournalString() + "\n");
return sb.toString();
}
}
# |
Change |
User |
Description |
Committed |
|
#1
|
12446 |
Paul Allen |
Branching using p4convert-rusty |
|
|
//guest/perforce_software/p4convert/src/com/perforce/common/journal/BuildCounter.java |
#1
|
9807 |
Paul Allen |
Initial import of p4-convert (from change 894340) |
|
|