Free cookie consent management tool by TermsFeed Policy Generator

Changeset 1125 for trunk/sources


Ignore:
Timestamp:
01/14/09 16:45:00 (16 years ago)
Author:
svonolfe
Message:

removed locking from reading db methods (#372)

Location:
trunk/sources/HeuristicLab.Hive.Server.ADODataAccess
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Hive.Server.ADODataAccess/CachedDataAdapter.cs

    r1096 r1125  
    5151    }
    5252
    53     [MethodImpl(MethodImplOptions.Synchronized)]
    5453    protected virtual RowT FindSingleRow(Selector dbSelector,
    5554      Selector cacheSelector) {
     
    6665    }
    6766
    68     [MethodImpl(MethodImplOptions.Synchronized)]
    6967    protected virtual IEnumerable<RowT> FindMultipleRows(Selector dbSelector,
    7068        Selector cacheSelector) {
     
    9896    }
    9997
    100     [MethodImpl(MethodImplOptions.Synchronized)]
    10198    protected virtual ICollection<ObjT> FindMultiple(Selector dbSelector,
    10299      Selector cacheSelector) {
     
    127124    protected abstract bool PutInCache(ObjT obj);
    128125
    129     [MethodImpl(MethodImplOptions.Synchronized)]
    130126    protected abstract RowT FindCachedById(long id);
    131127
     
    151147    }
    152148
    153     [MethodImpl(MethodImplOptions.Synchronized)]
    154149    protected override RowT GetRowById(long id) {
    155150      RowT row =
  • trunk/sources/HeuristicLab.Hive.Server.ADODataAccess/DataAdapterBase.cs

    r1093 r1125  
    4646    protected abstract void UpdateRow(RowT row);
    4747
    48     [MethodImpl(MethodImplOptions.Synchronized)]
    4948    protected abstract IEnumerable<RowT> FindById(long id);
    5049
    51     [MethodImpl(MethodImplOptions.Synchronized)]
    5250    protected abstract IEnumerable<RowT> FindAll();
    5351    #endregion
     
    5553    protected delegate IEnumerable<RowT> Selector();
    5654
    57     [MethodImpl(MethodImplOptions.Synchronized)]
    5855    protected virtual RowT FindSingleRow(Selector selector) {
    5956      RowT row = default(RowT);
     
    8178    }
    8279
    83     [MethodImpl(MethodImplOptions.Synchronized)]
    8480    protected virtual ICollection<ObjT> FindMultiple(Selector selector) {
    8581      IEnumerable<RowT> found =
Note: See TracChangeset for help on using the changeset viewer.