コード例 #1
0
        public void FlushCaches(WorkData data)
        {
            StorageData data1 = (StorageData)data;

            data1.Storage.CleanCachedChunks();
            data1.Scheduled = false;
            Interlocked.Decrement(ref this.m_scheduledCount);
        }
コード例 #2
0
        public void WritePending(WorkData data)
        {
            StorageData data1 = (StorageData)data;

            data1.Storage.WritePending(false);
            data1.Scheduled = false;
            Interlocked.Decrement(ref this.m_scheduledCount);
        }
コード例 #3
0
        public void Add(MyStorageBase storage)
        {
            StorageData sdata = new StorageData(storage);

            m_storagesWithCache.Add(sdata);
        }
コード例 #4
0
        public void Add(MyStorageBase storage)
        {
            StorageData instance = new StorageData(storage);

            this.m_storagesWithCache.Add(instance);
        }