示例#1
0
文件: FunnelsRepo.cs 项目: Kidify/L4p
 private FunnelsRepo()
 {
     _name2store = new Dictionary<string, IFunnelStore>();
     _id2name = new Dictionary<Guid, string>();
     _stores = new Dictionary<Guid, IFunnelStore>();
     _ager = Ager<IFunnelStore>.New(store => store.DeadAt);
 }
示例#2
0
 private ThrottledLog(TimeSpan ttl, ILogFile log)
 {
     _peer = log;
     _ttl = ttl;
     _set = new HashSet<string>();
     _ager = Ager<Item>.New(item => item.At);
 }