forked from ravendb/ravendb
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
RavenDB-21412 added TotalNumberOfQueueSinkTasks
- Loading branch information
1 parent
3cae942
commit cbf0679
Showing
4 changed files
with
24 additions
and
1 deletion.
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
17 changes: 17 additions & 0 deletions
17
...n.Server/Monitoring/Snmp/Objects/Database/5.1/5.1.11/TotalNumberOfActiveQueueSinkTasks.cs
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,17 @@ | ||
using Raven.Client.ServerWide; | ||
using Raven.Server.ServerWide; | ||
using Raven.Server.ServerWide.Context; | ||
|
||
namespace Raven.Server.Monitoring.Snmp.Objects.Database; | ||
|
||
public class TotalNumberOfActiveQueueSinkTasks : ActiveOngoingTasksBase | ||
{ | ||
public TotalNumberOfActiveQueueSinkTasks(ServerStore serverStore) : base(serverStore, SnmpOids.Databases.General.TotalNumberOfActiveQueueSinkTasks) | ||
{ | ||
} | ||
|
||
protected override int GetCount(TransactionOperationContext context, RachisState rachisState, string nodeTag, RawDatabaseRecord database) | ||
{ | ||
return GetNumberOfActiveQueueSinks(rachisState, nodeTag, database); | ||
} | ||
} |
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