Пример #1
0
 internal Impl(ByteArrayManager.Conf conf)
 {
     this.conf     = conf;
     this.counters = new ByteArrayManager.CounterMap(conf.countResetTimePeriodMs);
     this.managers = new ByteArrayManager.ManagerMap(conf.countLimit);
 }
Пример #2
0
 public static ByteArrayManager NewInstance(ByteArrayManager.Conf conf)
 {
     return(conf == null ? new ByteArrayManager.NewByteArrayWithoutLimit() : new ByteArrayManager.Impl
                (conf));
 }