C# Class Azavea.Open.DAO.Util.DbCaches

We need to cache so many things in so many places, it made more sense to just put them all in one nice central location.
Datei anzeigen Open project: azavea/net-dao

Public Properties

Property Type Description
ArrayLists ClearingCache
Clauses ClearingCache
Commands Azavea.Open.DAO.SQL.DbCommandCache
Connections Azavea.Open.DAO.SQL.DbConnectionCache
Criteria ClearingCache
EnumerableLists ClearingCache>
Hashtables ClearingCache
IntLists ClearingCache>
ObjectLists ClearingCache>
ParamNames ParamNameCache
StringBuilders StringBuilderCache
StringIntDicts int>>.ClearingCache
StringLists ClearingCache>
StringObjectDicts object>>.ClearingCache

Property Details

ArrayLists public_oe static_oe property

Cache of ArrayLists.
public static ClearingCache ArrayLists
return ClearingCache

Clauses public_oe static_oe property

Cache of SQL clauses so we can reuse them.
public static ClearingCache Clauses
return ClearingCache

Commands public_oe static_oe property

Cache of all the commands we've run.
public static DbCommandCache,Azavea.Open.DAO.SQL Commands
return Azavea.Open.DAO.SQL.DbCommandCache

Connections public_oe static_oe property

Cache of connections to all the databases we've connected to.
public static DbConnectionCache,Azavea.Open.DAO.SQL Connections
return Azavea.Open.DAO.SQL.DbConnectionCache

Criteria public_oe static_oe property

A cache of DaoCriterias so we aren't constructing zillions of 'em.
public static ClearingCache Criteria
return ClearingCache

EnumerableLists public_oe static_oe property

Cache of List<IEnumerable>s.
public static ClearingCache> EnumerableLists
return ClearingCache>

Hashtables public_oe static_oe property

Cache of Hashtables.
public static ClearingCache Hashtables
return ClearingCache

IntLists public_oe static_oe property

Cache of List<int>s.
public static ClearingCache> IntLists
return ClearingCache>

ObjectLists public_oe static_oe property

Cache of List<object>s.
public static ClearingCache> ObjectLists
return ClearingCache>

ParamNames public_oe static_oe property

Cache of "param" + nums.
public static ParamNameCache,Azavea.Open.DAO.Util ParamNames
return ParamNameCache

StringBuilders public_oe static_oe property

Cache of StringBuilders.
public static StringBuilderCache StringBuilders
return StringBuilderCache

StringIntDicts public_oe static_oe property

Cache of Dictionary<string, int>s.
public static ClearingCache> StringIntDicts
return int>>.ClearingCache

StringLists public_oe static_oe property

Cache of List<string>s.
public static ClearingCache> StringLists
return ClearingCache>

StringObjectDicts public_oe static_oe property

Cache of Dictionary<string, object>s.
public static ClearingCache> StringObjectDicts
return object>>.ClearingCache