- Timestamp:
- Jan 27, 2023, 7:28:00 PM (22 months ago)
- Location:
- binary-improvements2/WebServer/src/FileCache
- Files:
-
- 1 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
binary-improvements2/WebServer/src/FileCache/AbstractCache.cs
r392 r402 1 1 using System.Collections.Generic; 2 2 3 namespace AllocsFixes.FileCache {3 namespace Webserver.FileCache { 4 4 public abstract class AbstractCache { 5 5 public abstract byte[] GetFileContent (string _filename); 6 public abstract (int , int) Invalidate ();6 public abstract (int filesDropped, int bytesDropped) Invalidate (); 7 7 8 8 protected AbstractCache () { … … 16 16 17 17 foreach (AbstractCache cache in caches) { 18 (int , int) returned= cache.Invalidate ();19 filesDropped += returned.Item1;20 bytesDropped += returned.Item2;18 (int files, int bytes) = cache.Invalidate (); 19 filesDropped += files; 20 bytesDropped += bytes; 21 21 } 22 22
Note:
See TracChangeset
for help on using the changeset viewer.