@@ -47,19 +47,34 @@ public sealed class StorageNode : ISessionSource
4747 /// </summary>
4848 public TypeIdRegistry TypeIdRegistry { get ; private set ; }
4949
50- internal ConcurrentDictionary < ( TypeInfo , LockMode , LockBehavior ) , ExecutableProvider > InternalExecutableProviderCache { get ; } =
50+ /// <summary>
51+ /// Caches providers that lock certain type of entity with certain <see cref="LockMode"/> and <see cref="LockBehavior"/>.
52+ /// </summary>
53+ internal ConcurrentDictionary < ( TypeInfo , LockMode , LockBehavior ) , ExecutableProvider > EntityLockProviderCache { get ; } =
5154 new ConcurrentDictionary < ( TypeInfo , LockMode , LockBehavior ) , ExecutableProvider > ( ) ;
5255
53- internal ConcurrentDictionary < RecordSetCacheKey , CompilableProvider > InternalRecordSetCache { get ; } =
56+ /// <summary>
57+ /// Caches uncompiled queries used by <see cref="PrefetchManager"/> to fetch certain entities.
58+ /// </summary>
59+ internal ConcurrentDictionary < RecordSetCacheKey , CompilableProvider > EntityFetchQueryCache { get ; } =
5460 new ConcurrentDictionary < RecordSetCacheKey , CompilableProvider > ( ) ;
5561
56- internal ConcurrentDictionary < ItemsQueryCacheKey , CompilableProvider > InternalItemsQueryCache { get ; } =
62+ /// <summary>
63+ /// Caches uncompiled queries used by <see cref="PrefetchManager"/> to fetch <see cref="EntitySet{TItem}"/> content.
64+ /// </summary>
65+ internal ConcurrentDictionary < ItemsQueryCacheKey , CompilableProvider > EntitySetFetchQueryCache { get ; } =
5766 new ConcurrentDictionary < ItemsQueryCacheKey , CompilableProvider > ( ) ;
5867
59- internal ConcurrentDictionary < Xtensive . Orm . Model . FieldInfo , EntitySetTypeState > InternalEntitySetCache { get ; } =
68+ /// <summary>
69+ /// Caches certain info about EntitySet fields, e.g. queries to fetch current count or items.
70+ /// </summary>
71+ internal ConcurrentDictionary < Xtensive . Orm . Model . FieldInfo , EntitySetTypeState > EntitySetTypeStateCache { get ; } =
6072 new ConcurrentDictionary < Xtensive . Orm . Model . FieldInfo , EntitySetTypeState > ( ) ;
6173
62- internal ConcurrentDictionary < AssociationInfo , ( CompilableProvider , Parameter < Xtensive . Tuples . Tuple > ) > InternalAssociationCache { get ; } =
74+ /// <summary>
75+ /// Caches queries that get references to entities for certain association.
76+ /// </summary>
77+ internal ConcurrentDictionary < AssociationInfo , ( CompilableProvider , Parameter < Xtensive . Tuples . Tuple > ) > RefsToEntityQueryCache { get ; } =
6378 new ConcurrentDictionary < AssociationInfo , ( CompilableProvider , Parameter < Xtensive . Tuples . Tuple > ) > ( ) ;
6479
6580 internal ConcurrentDictionary < SequenceInfo , object > KeySequencesCache { get ; } = new ConcurrentDictionary < SequenceInfo , object > ( ) ;
0 commit comments