public Purger(
     Context context,
     QuotaKeeper quotaKeeper,
     IDistributedLocationStore?distributedStore,
     IReadOnlyList <ContentHashWithLastAccessTimeAndReplicaCount> contentHashesWithInfo,
     PurgeResult purgeResult,
     CancellationToken token)
 {
     _context               = context;
     _quotaKeeper           = quotaKeeper;
     _distributedStore      = distributedStore;
     _contentHashesWithInfo = contentHashesWithInfo;
     _purgeResult           = purgeResult;
     _token = token;
 }
Exemple #2
0
 public Purger(
     Context context,
     QuotaKeeper quotaKeeper,
     DistributedEvictionSettings distributedEvictionSettings,
     IReadOnlyList <ContentHashWithLastAccessTimeAndReplicaCount> contentHashesWithInfo,
     PurgeResult purgeResult,
     CancellationToken token)
 {
     _distributedEvictionSettings = distributedEvictionSettings;
     _context               = context;
     _quotaKeeper           = quotaKeeper;
     _contentHashesWithInfo = contentHashesWithInfo;
     _purgeResult           = purgeResult;
     _token = token;
 }