-
-
Notifications
You must be signed in to change notification settings - Fork 87
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
19 changed files
with
527 additions
and
367 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"sdk": { | ||
"version": "8.0.200", | ||
"version": "8.0.202", | ||
"rollForward": "latestMajor", | ||
"allowPrerelease": true | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
62 changes: 62 additions & 0 deletions
62
src/EFCoreSecondLevelCacheInterceptor/CacheableLogEventId.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
namespace EFCoreSecondLevelCacheInterceptor; | ||
|
||
/// <summary> | ||
/// Event IDs of the internal logged messages of the library | ||
/// </summary> | ||
public enum CacheableLogEventId | ||
{ | ||
/// <summary> | ||
/// It's not used | ||
/// </summary> | ||
None, | ||
|
||
/// <summary> | ||
/// The query result is returned from the cache. | ||
/// </summary> | ||
CacheHit = CacheableEventId.CacheableBaseId, | ||
|
||
/// <summary> | ||
/// The query result is stored in the cache. | ||
/// </summary> | ||
QueryResultCached, | ||
|
||
/// <summary> | ||
/// The query result was removed from the cache. | ||
/// </summary> | ||
QueryResultInvalidated, | ||
|
||
/// <summary> | ||
/// The query result was not cached due to some predefined setting. | ||
/// </summary> | ||
CachingSkipped, | ||
|
||
/// <summary> | ||
/// The query result was not remove from the cached due to some predefined setting. | ||
/// </summary> | ||
InvalidationSkipped, | ||
|
||
/// <summary> | ||
/// It will be fired when the current interceptor is instantiated for the first time. | ||
/// </summary> | ||
CachingSystemStarted, | ||
|
||
/// <summary> | ||
/// An exception has been occured | ||
/// </summary> | ||
CachingError, | ||
|
||
/// <summary> | ||
/// The query result was overwritten by the interceptor for the cache | ||
/// </summary> | ||
QueryResultSuppressed, | ||
|
||
/// <summary> | ||
/// It will be fired when the cache dependencies if the current query are calculated | ||
/// </summary> | ||
CacheDependenciesCalculated, | ||
|
||
/// <summary> | ||
/// It will be fired when the cache policy of the current query is calculated | ||
/// </summary> | ||
CachePolicyCalculated | ||
} |
Oops, something went wrong.