示例#1
0
 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;
 }
示例#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;
 }