internal Impl(ByteArrayManager.Conf conf) { this.conf = conf; this.counters = new ByteArrayManager.CounterMap(conf.countResetTimePeriodMs); this.managers = new ByteArrayManager.ManagerMap(conf.countLimit); }
public static ByteArrayManager NewInstance(ByteArrayManager.Conf conf) { return(conf == null ? new ByteArrayManager.NewByteArrayWithoutLimit() : new ByteArrayManager.Impl (conf)); }