Commit cce8a976 authored by yangxiaodong's avatar yangxiaodong

add empty implement

parent addc6c51
using System.Threading; using System.Threading;
using System.Threading.Tasks; using System.Threading.Tasks;
using Dapper; using Dapper;
using DotNetCore.CAP.Dashboard;
using Microsoft.Extensions.Logging; using Microsoft.Extensions.Logging;
using MySql.Data.MySqlClient; using MySql.Data.MySqlClient;
...@@ -17,6 +18,16 @@ namespace DotNetCore.CAP.MySql ...@@ -17,6 +18,16 @@ namespace DotNetCore.CAP.MySql
_logger = logger; _logger = logger;
} }
public IStorageConnection GetConnection()
{
throw new System.NotImplementedException();
}
public IMonitoringApi GetMonitoringApi()
{
throw new System.NotImplementedException();
}
public async Task InitializeAsync(CancellationToken cancellationToken) public async Task InitializeAsync(CancellationToken cancellationToken)
{ {
if (cancellationToken.IsCancellationRequested) return; if (cancellationToken.IsCancellationRequested) return;
......
...@@ -148,5 +148,25 @@ VALUES(@Name,@Group,@Content,@Retries,@Added,@ExpiresAt,@StatusName);"; ...@@ -148,5 +148,25 @@ VALUES(@Name,@Group,@Content,@Retries,@Added,@ExpiresAt,@StatusName);";
return new MySqlFetchedMessage(fetchedMessage.MessageId, fetchedMessage.MessageType, connection, transaction); 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;
using System.Threading.Tasks; using System.Threading.Tasks;
using Dapper; using Dapper;
using DotNetCore.CAP.Dashboard;
using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Logging; using Microsoft.Extensions.Logging;
using Npgsql; using Npgsql;
...@@ -18,6 +19,16 @@ namespace DotNetCore.CAP.PostgreSql ...@@ -18,6 +19,16 @@ namespace DotNetCore.CAP.PostgreSql
_logger = logger; _logger = logger;
} }
public IStorageConnection GetConnection()
{
throw new System.NotImplementedException();
}
public IMonitoringApi GetMonitoringApi()
{
throw new System.NotImplementedException();
}
public async Task InitializeAsync(CancellationToken cancellationToken) public async Task InitializeAsync(CancellationToken cancellationToken)
{ {
if (cancellationToken.IsCancellationRequested) return; if (cancellationToken.IsCancellationRequested) return;
......
...@@ -133,5 +133,25 @@ namespace DotNetCore.CAP.PostgreSql ...@@ -133,5 +133,25 @@ namespace DotNetCore.CAP.PostgreSql
return new PostgreSqlFetchedMessage(fetchedMessage.MessageId, fetchedMessage.MessageType, connection, transaction); 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; ...@@ -2,6 +2,7 @@ using System.Data.SqlClient;
using System.Threading; using System.Threading;
using System.Threading.Tasks; using System.Threading.Tasks;
using Dapper; using Dapper;
using DotNetCore.CAP.Dashboard;
using Microsoft.Extensions.Logging; using Microsoft.Extensions.Logging;
namespace DotNetCore.CAP.SqlServer namespace DotNetCore.CAP.SqlServer
...@@ -17,6 +18,16 @@ namespace DotNetCore.CAP.SqlServer ...@@ -17,6 +18,16 @@ namespace DotNetCore.CAP.SqlServer
_logger = logger; _logger = logger;
} }
public IStorageConnection GetConnection()
{
throw new System.NotImplementedException();
}
public IMonitoringApi GetMonitoringApi()
{
throw new System.NotImplementedException();
}
public async Task InitializeAsync(CancellationToken cancellationToken) public async Task InitializeAsync(CancellationToken cancellationToken)
{ {
if (cancellationToken.IsCancellationRequested) return; if (cancellationToken.IsCancellationRequested) return;
......
...@@ -139,5 +139,25 @@ VALUES(@Name,@Group,@Content,@Retries,@Added,@ExpiresAt,@StatusName);"; ...@@ -139,5 +139,25 @@ VALUES(@Name,@Group,@Content,@Retries,@Added,@ExpiresAt,@StatusName);";
return new SqlServerFetchedMessage(fetchedMessage.MessageId, fetchedMessage.MessageType, connection, transaction); 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