public void FlushCaches(WorkData data) { StorageData data1 = (StorageData)data; data1.Storage.CleanCachedChunks(); data1.Scheduled = false; Interlocked.Decrement(ref this.m_scheduledCount); }
public void WritePending(WorkData data) { StorageData data1 = (StorageData)data; data1.Storage.WritePending(false); data1.Scheduled = false; Interlocked.Decrement(ref this.m_scheduledCount); }
public void Add(MyStorageBase storage) { StorageData sdata = new StorageData(storage); m_storagesWithCache.Add(sdata); }
public void Add(MyStorageBase storage) { StorageData instance = new StorageData(storage); this.m_storagesWithCache.Add(instance); }