Skip navigation links
JNA API 4.5.2
com.sun.jna.platform.unix.solaris

Class LibKstat.Kstat

  • Enclosing interface:
    LibKstat


    public static class LibKstat.Kstat
    extends Structure
    The kernel maintains a linked list of statistics structures, or kstats. Each kstat has a common header section and a type-specific data section. The header section is defined by the kstat_t structure
    • Field Detail

      • ks_crtime

        public long ks_crtime
      • ks_kid

        public int ks_kid
      • ks_module

        public byte[] ks_module
      • ks_resv

        public byte ks_resv
      • ks_instance

        public int ks_instance
      • ks_name

        public byte[] ks_name
      • ks_type

        public byte ks_type
      • ks_class

        public byte[] ks_class
      • ks_flags

        public byte ks_flags
      • ks_ndata

        public int ks_ndata
      • ks_data_size

        public long ks_data_size
      • ks_snaptime

        public long ks_snaptime
      • ks_update

        public int ks_update
      • ks_private

        public Pointer ks_private
      • ks_snapshot

        public int ks_snapshot
    • Constructor Detail

      • Kstat

        public Kstat()
    • Method Detail

      • getFieldOrder

        protected java.util.List<java.lang.String> getFieldOrder()
        Description copied from class: Structure
        Return this Structure's field names in their proper order. For example,
        
         protected List getFieldOrder() {
             return Arrays.asList(new String[] { ... });
         }
         
        IMPORTANT When deriving from an existing Structure subclass, ensure that you augment the list provided by the superclass, e.g.
        
         protected List getFieldOrder() {
             List fields = new ArrayList(super.getFieldOrder());
             fields.addAll(Arrays.asList(new String[] { ... }));
             return fields;
         }
         
        Field order must be explicitly indicated, since the field order as returned by Class.getFields() is not guaranteed to be predictable.
        Specified by:
        getFieldOrder in class Structure
        Returns:
        ordered list of field names
JNA API 4.5.2

Copyright © 2007-2017 Timothy Wall. All Rights Reserved.