Browse Source

add summary comment.

master
Savorboard 7 years ago
parent
commit
b418aeb5c0
2 changed files with 10 additions and 0 deletions
  1. +6
    -0
      src/DotNetCore.CAP/IStorage.cs
  2. +4
    -0
      src/DotNetCore.CAP/IStorageTransaction.cs

+ 6
- 0
src/DotNetCore.CAP/IStorage.cs View File

@@ -14,8 +14,14 @@ namespace DotNetCore.CAP
/// </summary>
Task InitializeAsync(CancellationToken cancellationToken);

/// <summary>
/// Provider the dashboard metric api.
/// </summary>
IMonitoringApi GetMonitoringApi();

/// <summary>
/// Storage connection of database operate.
/// </summary>
IStorageConnection GetConnection();
}
}

+ 4
- 0
src/DotNetCore.CAP/IStorageTransaction.cs View File

@@ -4,6 +4,10 @@ using DotNetCore.CAP.Models;

namespace DotNetCore.CAP
{
/// <summary>
/// A transactional database storage operation.
/// Update message state of the message table with transactional.
/// </summary>
public interface IStorageTransaction : IDisposable
{
void UpdateMessage(CapPublishedMessage message);


Loading…
Cancel
Save