[
https://issues.apache.org/jira/browse/IGNITE-14569?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ilya Kazakov updated IGNITE-14569:
----------------------------------
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
was:
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
> Create data structures system view
> ----------------------------------
>
> Key: IGNITE-14569
> URL: https://issues.apache.org/jira/browse/IGNITE-14569
> Project: Ignite
> Issue Type: Improvement
> Components: data structures
> Affects Versions: 2.10
> Reporter: Ilya Kazakov
> Priority: Minor
> Labels: newbie
>
> 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
--
This message was sent by Atlassian Jira
(v8.3.4#803005)