You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Pavel Tupitsyn (JIRA)" <ji...@apache.org> on 2017/04/24 13:33:04 UTC

[jira] [Comment Edited] (IGNITE-5050) .NET: IIgnite.GetMemoryMetrics

    [ https://issues.apache.org/jira/browse/IGNITE-5050?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15981153#comment-15981153 ] 

Pavel Tupitsyn edited comment on IGNITE-5050 at 4/24/17 1:32 PM:
-----------------------------------------------------------------

Main difficulty here is that {{MemoryMetrics}} is not a read-only snapshot like all other metrics, it is a living object which is constantly updated.

I think for .NET we should still go with a snapshot approach to avoid frequent native calls.

To enable and disable metrics there should be a separate {{IIgnite.EnableMemoryMetrics(string policyName, bool enable)}} method.


was (Author: ptupitsyn):
Main difficulty here is that {{MemoryMetrics}} is not a read-only snapshot like all other metrics, it is a living object which is constantly updated.

I think for .NET we should still go with a snapshot approach to avoid frequent native calls.

> .NET: IIgnite.GetMemoryMetrics
> ------------------------------
>
>                 Key: IGNITE-5050
>                 URL: https://issues.apache.org/jira/browse/IGNITE-5050
>             Project: Ignite
>          Issue Type: New Feature
>          Components: platforms
>    Affects Versions: 2.0
>            Reporter: Pavel Tupitsyn
>            Assignee: Pavel Tupitsyn
>              Labels: .NET
>             Fix For: 2.0
>
>
> Add {{IIgnite.GetMemoryMetrics()}} in .NET which delegates to {{Ignite.memoryMetrics()}} in Java



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)