예제 #1
0
 public ReducingQueue(IReductionRepository reductionRepository)
 {
     RRTracer.Trace("Instantiating new Reducing queue.");
     this.reductionRepository = reductionRepository;
     backgroundThread = new Thread(ProcessQueue) { IsBackground = true };
     backgroundThread.Start();
 }
 public ResponseTransformer(IReductionRepository reductionRepository, IReducingQueue reducingQueue, HttpContextBase context, IRRConfiguration config)
 {
     this.reductionRepository = reductionRepository;
     this.reducingQueue       = reducingQueue;
     this.context             = context;
     this.config = config;
 }
예제 #3
0
 public SqlServerStore(IUriBuilder uriBuilder, IFileRepository repository, IStore fileStore, IReductionRepository reductionRepository)
 {
     RRTracer.Trace("Sql Server Store Created.");
     this.uriBuilder = uriBuilder;
     this.repository = repository;
     this.fileStore = fileStore;
     this.reductionRepository = reductionRepository;
 }
예제 #4
0
 public DashboardHandler(IRRConfiguration config, IIpFilter ipFilter, IReducingQueue queue, IReductionRepository repo, IUriBuilder uriBuilder)
 {
     this.config     = config;
     this.ipFilter   = ipFilter;
     this.queue      = queue;
     this.repo       = repo;
     this.uriBuilder = uriBuilder;
 }
예제 #5
0
 public SqlServerStore(IUriBuilder uriBuilder, IFileRepository repository, LocalDiskStore fileStore, IReductionRepository reductionRepository)
 {
     RRTracer.Trace("Sql Server Store Created.");
     this.uriBuilder          = uriBuilder;
     this.repository          = repository;
     FileStore                = fileStore;
     this.reductionRepository = reductionRepository;
 }
예제 #6
0
 public DashboardHandler(IRRConfiguration config, IIpFilter ipFilter, IReducingQueue queue, IReductionRepository repo, IUriBuilder uriBuilder)
 {
     this.config = config;
     this.ipFilter = ipFilter;
     this.queue = queue;
     this.repo = repo;
     this.uriBuilder = uriBuilder;
 }
예제 #7
0
 public ReducingQueue(IReductionRepository reductionRepository, IStore store)
 {
     RRTracer.Trace("Instantiating new Reducing queue.");
     queueLock = new ReaderWriterLockSlim();
     this.reductionRepository = reductionRepository;
     this.store = store;
     backgroundThread = new Thread(ProcessQueue) { IsBackground = true };
     backgroundThread.Start();
 }
예제 #8
0
 public ResponseTransformer(IReductionRepository reductionRepository, IReducingQueue reducingQueue, HttpContextBase context, IRRConfiguration config, IUriBuilder uriBuilder, IRelativeToAbsoluteUtility relativeToAbsoluteUtility)
 {
     this.reductionRepository = reductionRepository;
     this.reducingQueue       = reducingQueue;
     this.context             = context;
     this.config     = config;
     this.uriBuilder = uriBuilder;
     this.relativeToAbsoluteUtility = relativeToAbsoluteUtility;
 }
예제 #9
0
 public LocalDiskStore(IFileWrapper fileWrapper, IRRConfiguration configuration, IUriBuilder uriBuilder, IReductionRepository reductionRepository)
 {
     this.fileWrapper = fileWrapper;
     this.configuration = configuration;
     configuration.PhysicalPathChange += SetupWatcher;
     this.uriBuilder = uriBuilder;
     this.reductionRepository = reductionRepository;
     if(configuration.IsFullTrust)
         SetupWatcher();
 }
예제 #10
0
 public ReducingQueue(IReductionRepository reductionRepository, IStore store)
 {
     RRTracer.Trace("Instantiating new Reducing queue.");
     queueLock           = new ReaderWriterLockSlim();
     ReductionRepository = reductionRepository;
     Store            = store;
     BackgroundThread = new Thread(ProcessQueue)
     {
         IsBackground = true
     };
     BackgroundThread.Start();
 }
예제 #11
0
 public LocalDiskStore(IFileWrapper fileWrapper, IRRConfiguration configuration, IUriBuilder uriBuilder, IReductionRepository reductionRepository)
 {
     FileWrapper        = fileWrapper;
     this.configuration = configuration;
     configuration.PhysicalPathChange += SetupWatcher;
     this.uriBuilder     = uriBuilder;
     ReductionRepository = reductionRepository;
     if (configuration.IsFullTrust)
     {
         SetupWatcher();
     }
 }
 public FakeLocalDiskStore(IFileWrapper fileWrapper, IRRConfiguration configuration, IUriBuilder uriBuilder, IReductionRepository reductionRepository)
     : base(fileWrapper, configuration, uriBuilder, reductionRepository)
 {
 }
 public FakeReducingQueue(IReductionRepository reductionRepository, IStore store) : base(reductionRepository, store)
 {
     IsRunning = false;
     ((FakeReductionRepository)reductionRepository).HasLoadedSavedEntries = true;
 }
예제 #14
0
 public ResponseTransformer(IReductionRepository reductionRepository, IReducingQueue reducingQueue, HttpContextBase context)
 {
     this.reductionRepository = reductionRepository;
     this.reducingQueue = reducingQueue;
     this.context = context;
 }