Class KstatCtl


  • public final class KstatCtl
    extends java.lang.Object
    kstat controlling object. Allows kstats to be looked up so they can later be sampled.
    • Constructor Summary

      Constructors 
      Constructor Description
      KstatCtl()
      Invokes kstat_open(3KSTAT).
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void chainUpdate()
      Invokes kstat_chain_update(3KSTAT).
      void finalize()
      Calls kstat_close(3KSTAT).
      Kstat lookup​(java.lang.String module, int instance, java.lang.String name)
      Invokes kstat_lookup(3KSTAT) and returns a Kstat for any result, or null if none is found.
      • Methods inherited from class java.lang.Object

        clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • KstatCtl

        public KstatCtl()
        Invokes kstat_open(3KSTAT). The returned object should be explicitly finalized when it's no longer needed.
    • Method Detail

      • finalize

        public void finalize()
        Calls kstat_close(3KSTAT).
        Overrides:
        finalize in class java.lang.Object
      • lookup

        public Kstat lookup​(java.lang.String module,
                            int instance,
                            java.lang.String name)
        Invokes kstat_lookup(3KSTAT) and returns a Kstat for any result, or null if none is found.