Commit cce8a976 authored by yangxiaodong's avatar yangxiaodong

add empty implement

parent addc6c51
using System.Threading;
using System.Threading.Tasks;
using Dapper;
using DotNetCore.CAP.Dashboard;
using Microsoft.Extensions.Logging;
using MySql.Data.MySqlClient;
......@@ -17,6 +18,16 @@ namespace DotNetCore.CAP.MySql
_logger = logger;
}
public IStorageConnection GetConnection()
{
throw new System.NotImplementedException();
}
public IMonitoringApi GetMonitoringApi()
{
throw new System.NotImplementedException();
}
public async Task InitializeAsync(CancellationToken cancellationToken)
{
if (cancellationToken.IsCancellationRequested) return;
......
......@@ -148,5 +148,25 @@ VALUES(@Name,@Group,@Content,@Retries,@Added,@ExpiresAt,@StatusName);";
return new MySqlFetchedMessage(fetchedMessage.MessageId, fetchedMessage.MessageType, connection, transaction);
}
public long GetSetCount(string key)
{
throw new NotImplementedException();
}
public List<string> GetRangeFromSet(string key, int startingFrom, int endingAt)
{
throw new NotImplementedException();
}
public MessageData GetJobData(string jobId)
{
throw new NotImplementedException();
}
public StateData GetStateData(string jobId)
{
throw new NotImplementedException();
}
}
}
\ No newline at end of file
using System.Threading;
using System.Threading.Tasks;
using Dapper;
using DotNetCore.CAP.Dashboard;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Logging;
using Npgsql;
......@@ -18,6 +19,16 @@ namespace DotNetCore.CAP.PostgreSql
_logger = logger;
}
public IStorageConnection GetConnection()
{
throw new System.NotImplementedException();
}
public IMonitoringApi GetMonitoringApi()
{
throw new System.NotImplementedException();
}
public async Task InitializeAsync(CancellationToken cancellationToken)
{
if (cancellationToken.IsCancellationRequested) return;
......
......@@ -133,5 +133,25 @@ namespace DotNetCore.CAP.PostgreSql
return new PostgreSqlFetchedMessage(fetchedMessage.MessageId, fetchedMessage.MessageType, connection, transaction);
}
public long GetSetCount(string key)
{
throw new NotImplementedException();
}
public List<string> GetRangeFromSet(string key, int startingFrom, int endingAt)
{
throw new NotImplementedException();
}
public MessageData GetJobData(string jobId)
{
throw new NotImplementedException();
}
public StateData GetStateData(string jobId)
{
throw new NotImplementedException();
}
}
}
\ No newline at end of file
......@@ -2,6 +2,7 @@ using System.Data.SqlClient;
using System.Threading;
using System.Threading.Tasks;
using Dapper;
using DotNetCore.CAP.Dashboard;
using Microsoft.Extensions.Logging;
namespace DotNetCore.CAP.SqlServer
......@@ -17,6 +18,16 @@ namespace DotNetCore.CAP.SqlServer
_logger = logger;
}
public IStorageConnection GetConnection()
{
throw new System.NotImplementedException();
}
public IMonitoringApi GetMonitoringApi()
{
throw new System.NotImplementedException();
}
public async Task InitializeAsync(CancellationToken cancellationToken)
{
if (cancellationToken.IsCancellationRequested) return;
......
......@@ -139,5 +139,25 @@ VALUES(@Name,@Group,@Content,@Retries,@Added,@ExpiresAt,@StatusName);";
return new SqlServerFetchedMessage(fetchedMessage.MessageId, fetchedMessage.MessageType, connection, transaction);
}
public long GetSetCount(string key)
{
throw new NotImplementedException();
}
public List<string> GetRangeFromSet(string key, int startingFrom, int endingAt)
{
throw new NotImplementedException();
}
public MessageData GetJobData(string jobId)
{
throw new NotImplementedException();
}
public StateData GetStateData(string jobId)
{
throw new NotImplementedException();
}
}
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment