Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
CAP
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
tsai
CAP
Commits
9d97e190
Commit
9d97e190
authored
Sep 11, 2017
by
yangxiaodong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove some api.
parent
0ce6c547
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
4 additions
and
54 deletions
+4
-54
MySqlStorageConnection.cs
src/DotNetCore.CAP.MySql/MySqlStorageConnection.cs
+0
-15
PostgreSqlStorageConnection.cs
src/DotNetCore.CAP.PostgreSql/PostgreSqlStorageConnection.cs
+0
-15
SqlServerMonitoringApi.cs
src/DotNetCore.CAP.SqlServer/SqlServerMonitoringApi.cs
+3
-2
SqlServerStorage.cs
src/DotNetCore.CAP.SqlServer/SqlServerStorage.cs
+1
-1
SqlServerStorageConnection.cs
src/DotNetCore.CAP.SqlServer/SqlServerStorageConnection.cs
+0
-16
IStorageConnection.cs
src/DotNetCore.CAP/IStorageConnection.cs
+0
-5
No files found.
src/DotNetCore.CAP.MySql/MySqlStorageConnection.cs
View file @
9d97e190
...
...
@@ -151,26 +151,11 @@ 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
();
}
public
bool
ChangePublishedState
(
int
messageId
,
IState
state
)
{
throw
new
NotImplementedException
();
...
...
src/DotNetCore.CAP.PostgreSql/PostgreSqlStorageConnection.cs
View file @
9d97e190
...
...
@@ -135,26 +135,11 @@ 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
();
}
public
bool
ChangePublishedState
(
int
messageId
,
IState
state
)
{
throw
new
NotImplementedException
();
...
...
src/DotNetCore.CAP.SqlServer/SqlServerMonitoringApi.cs
View file @
9d97e190
...
...
@@ -72,9 +72,10 @@ _options.Schema);
GetHourlyTimelineStats
(
connection
,
"succeeded"
));
}
public
IList
<
S
erverDto
>
Serv
ers
()
public
IList
<
S
ubscriberDto
>
Subscrib
ers
()
{
return
new
List
<
ServerDto
>();
// MethodMatcherCache
return
new
List
<
SubscriberDto
>();
}
public
IDictionary
<
DateTime
,
int
>
SucceededByDatesCount
()
...
...
src/DotNetCore.CAP.SqlServer/SqlServerStorage.cs
View file @
9d97e190
...
...
@@ -13,7 +13,7 @@ namespace DotNetCore.CAP.SqlServer
{
private
readonly
SqlServerOptions
_options
;
private
readonly
ILogger
_logger
;
private
readonly
IDbConnection
_existingConnection
;
private
readonly
IDbConnection
_existingConnection
=
null
;
public
SqlServerStorage
(
ILogger
<
SqlServerStorage
>
logger
,
SqlServerOptions
options
)
{
...
...
src/DotNetCore.CAP.SqlServer/SqlServerStorageConnection.cs
View file @
9d97e190
...
...
@@ -163,25 +163,9 @@ VALUES(@Name,@Group,@Content,@Retries,@Added,@ExpiresAt,@StatusName);";
// ------------------------------------------
public
long
GetSetCount
(
string
key
)
{
return
11
;
}
public
List
<
string
>
GetRangeFromSet
(
string
key
,
int
startingFrom
,
int
endingAt
)
{
return
new
List
<
string
>
{
"11"
,
"22"
,
"33"
};
}
public
MessageData
GetJobData
(
string
jobId
)
{
return
new
MessageData
();
}
public
StateData
GetStateData
(
string
jobId
)
{
return
new
StateData
();
}
}
}
\ No newline at end of file
src/DotNetCore.CAP/IStorageConnection.cs
View file @
9d97e190
...
...
@@ -70,12 +70,7 @@ namespace DotNetCore.CAP
bool
ChangePublishedState
(
int
messageId
,
IState
state
);
bool
ChangeReceivedState
(
int
messageId
,
IState
state
);
long
GetSetCount
(
string
key
);
List
<
string
>
GetRangeFromSet
(
string
key
,
int
startingFrom
,
int
endingAt
);
MessageData
GetJobData
(
string
jobId
);
StateData
GetStateData
(
string
jobId
);
}
}
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment