-
Notifications
You must be signed in to change notification settings - Fork 328
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #36 from dotnetcore/dev
Refactoring And Add new API
- Loading branch information
Showing
35 changed files
with
914 additions
and
705 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 |
---|---|---|
@@ -0,0 +1,15 @@ | ||
namespace EasyCaching.Core | ||
{ | ||
/// <summary> | ||
/// Caching provider type. | ||
/// </summary> | ||
public enum CachingProviderType | ||
{ | ||
InMemory, | ||
Memcached, | ||
Redis, | ||
SQLite, | ||
Ext1, | ||
Ext2 | ||
} | ||
} |
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 was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,39 @@ | ||
namespace EasyCaching.Core.Internal | ||
{ | ||
using System; | ||
|
||
/// <summary> | ||
/// Base provider options. | ||
/// </summary> | ||
public class BaseProviderOptions | ||
{ | ||
/// <summary> | ||
/// Gets or sets the type of the caching provider. | ||
/// </summary> | ||
/// <remarks> | ||
/// Reserved, do not used. | ||
/// </remarks> | ||
/// <value>The type of the caching provider.</value> | ||
public CachingProviderType CachingProviderType { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets the max random second. | ||
/// </summary> | ||
/// <remarks> | ||
/// Prevent Cache Crash | ||
/// </remarks> | ||
/// <value>The max random second.</value> | ||
public int MaxRdSecond { get; set; } = 120; | ||
|
||
/// <summary> | ||
/// Gets or sets the order. | ||
/// </summary> | ||
/// <remarks> | ||
/// Mainly for hybird | ||
/// </remarks> | ||
/// <value>The order.</value> | ||
public int Order { get; set; } | ||
} | ||
|
||
|
||
} |
This file was deleted.
Oops, something went wrong.
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
Oops, something went wrong.