Class ::ns::ns_stats (public)

 ::nx::Class ::ns::ns_stats[i]

Defined in

Testcases:
No testcase defined.
Source code:
::nsf::object::alloc ::nx::Class ::ns::ns_stats {}
::ns::ns_stats public method {history persist} {} {
        #
        #   Scheduled persistence entry point. Restore the configured history
        #   mixins in this interpreter, then save the latest published sample.
        #   Return without database access when persistence is disabled.
        #
        set config [nsv_get ns_stats history]
        if {$config eq "" || ![dict get $config enabled]} {
            return
        }
        :object mixins set [dict get $config mixins]
        :history save
    }
::nsf::relation::set ::ns::ns_stats superclass ::ns::stats::Sampler


::nx::slotObj -container slot ::ns::ns_stats
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: