protected KeyValuePairWriter(KvpConfiguration conf) { if(conf != null) { this.batchMode = conf.BatchMode; this.writeInterval = conf.WriteInterval <= 0 ? DEFAULT_WRITE_INTERVAL : conf.WriteInterval; } }
public static KeyValuePairWriter CreateInstance(KvpConfiguration conf) { return new KeyValuePairWriter(conf); }