Revision 7f0e1c1e trunk/Pithos.Core/Agents/SnapshotDifferencer.cs
b/trunk/Pithos.Core/Agents/SnapshotDifferencer.cs | ||
---|---|---|
4 | 4 |
// </copyright> |
5 | 5 |
// ----------------------------------------------------------------------- |
6 | 6 |
|
7 |
using System.Collections.Concurrent; |
|
7 | 8 |
using Pithos.Interfaces; |
8 | 9 |
using Pithos.Network; |
9 | 10 |
|
... | ... | |
79 | 80 |
|
80 | 81 |
public class AccountsDifferencer |
81 | 82 |
{ |
82 |
Dictionary<string, SnapshotDifferencer> _differencers = new Dictionary<string, SnapshotDifferencer>();
|
|
83 |
ConcurrentDictionary<string, SnapshotDifferencer> _differencers = new ConcurrentDictionary<string, SnapshotDifferencer>();
|
|
83 | 84 |
|
84 |
public Dictionary<string, SnapshotDifferencer> Differencers { get { return _differencers; } } |
|
85 |
public ConcurrentDictionary<string, SnapshotDifferencer> Differencers { get { return _differencers; } }
|
|
85 | 86 |
|
86 | 87 |
public SnapshotDifferencer PostSnapshot(AccountInfo accountInfo, List<ObjectInfo> cleanRemotes) |
87 | 88 |
{ |
Also available in: Unified diff