Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-14569

Create data structures system view

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Duplicate
    • 2.10
    • 2.11
    • data structures

    Description

      It will be good to have an api to list all created data structures: latches, atomics and so on. So it could be a system view.

      There is system views for caches, for nodes, for continuous queries:  https://ignite.apache.org/docs/latest/monitoring-metrics/system-views.

      It needs a system views for data structures. In general, each data structure system view must have the same fields as the method arguments that creates the data structure.

      For example system view for latches should have such fields:
        name - name of the latch
        initialCnt - count when latch was created (if this data is available)
        cnt - current latch count
        autoDel - does the latch automatically delete when its count reaches zero.

      Queue system view:
        name - name of the queue
        capacity - capacity of the queue
        size - current size of the queue

      Set system view:
        name - name of the set
        size - current size of the set

      Atomics system view:
        name - name of the atomic
        initVal - initial value of the atomic
        currentVal - current value of the atomic
        type - SEQUENCE | LONG | REFERENCE 

      Attachments

        Issue Links

          Activity

            People

              Korol Ilya Korol
              kazakov Ilya Kazakov
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: