Ejemplo n.º 1
0
 public RedisTreatmentLog(IImpressionsCache impressionsCache)
 {
     this.impressionsCache = impressionsCache;
 }
Ejemplo n.º 2
0
 public SelfUpdatingTreatmentLog(ITreatmentSdkApiClient apiClient, int interval, IImpressionsCache impressionsCache, int maximumNumberOfKeysToCache = -1)
 {
     this.impressionsCache = impressionsCache ?? new InMemoryImpressionsCache(new BlockingQueue <KeyImpression>(maximumNumberOfKeysToCache));
     this.apiClient        = apiClient;
     this.interval         = interval;
 }