Exemplo n.º 1
0
        public void FlushCaches(WorkData data)
        {
            StorageData data1 = (StorageData)data;

            data1.Storage.CleanCachedChunks();
            data1.Scheduled = false;
            Interlocked.Decrement(ref this.m_scheduledCount);
        }
Exemplo n.º 2
0
        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);
        }
Exemplo n.º 4
0
        public void Add(MyStorageBase storage)
        {
            StorageData instance = new StorageData(storage);

            this.m_storagesWithCache.Add(instance);
        }