-
Notifications
You must be signed in to change notification settings - Fork 934
/
Copy pathIStatisticsImplementor.cs
33 lines (33 loc) · 1.24 KB
/
IStatisticsImplementor.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
using System;
namespace NHibernate.Stat
{
/// <summary> Statistics SPI for the NHibernate core </summary>
public interface IStatisticsImplementor
{
void OpenSession();
void CloseSession();
void Flush();
void Connect();
void LoadEntity(string entityName, TimeSpan time);
void FetchEntity(string entityName, TimeSpan time);
void UpdateEntity(string entityName, TimeSpan time);
void InsertEntity(string entityName, TimeSpan time);
void DeleteEntity(string entityName, TimeSpan time);
void LoadCollection(string role, TimeSpan time);
void FetchCollection(string role, TimeSpan time);
void UpdateCollection(string role, TimeSpan time);
void RecreateCollection(string role, TimeSpan time);
void RemoveCollection(string role, TimeSpan time);
void SecondLevelCachePut(string regionName);
void SecondLevelCacheHit(string regionName);
void SecondLevelCacheMiss(string regionName);
void QueryExecuted(string hql, int rows, TimeSpan time);
void QueryCacheHit(string hql, string regionName);
void QueryCacheMiss(string hql, string regionName);
void QueryCachePut(string hql, string regionName);
void EndTransaction(bool success);
void CloseStatement();
void PrepareStatement();
void OptimisticFailure(string entityName);
}
}