Class Kstat2.Kstat2NV

java.lang.Object
com.sun.jna.Structure
oshi.jna.platform.unix.Kstat2.Kstat2NV
Enclosing interface:
Kstat2

@FieldOrder({"name","type","kind","flags","data"}) public static class Kstat2.Kstat2NV extends com.sun.jna.Structure
Immutable Name/Value pair.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
     

    Nested classes/interfaces inherited from class com.sun.jna.Structure

    com.sun.jna.Structure.ByReference, com.sun.jna.Structure.ByValue, com.sun.jna.Structure.FieldOrder, com.sun.jna.Structure.StructField
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
     
    short
     
    byte
     
     
    byte
     

    Fields inherited from class com.sun.jna.Structure

    ALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE, CALCULATE_SIZE
  • Constructor Summary

    Constructors
    Constructor
    Description
     
    Kstat2NV(com.sun.jna.Pointer p)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     

    Methods inherited from class com.sun.jna.Structure

    allocateMemory, allocateMemory, autoAllocate, autoRead, autoRead, autoWrite, autoWrite, cacheTypeInfo, calculateSize, clear, createFieldsOrder, createFieldsOrder, createFieldsOrder, createFieldsOrder, dataEquals, dataEquals, ensureAllocated, equals, fieldOffset, getAutoRead, getAutoWrite, getFieldList, getFieldOrder, getFields, getNativeAlignment, getNativeSize, getNativeSize, getPointer, getStringEncoding, getStructAlignment, hashCode, newInstance, newInstance, readField, readField, setAlignType, setAutoRead, setAutoSynch, setAutoWrite, setStringEncoding, size, sortFields, toArray, toArray, toString, toString, useMemory, useMemory, write, writeField, writeField, writeField

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • name

      public String name
    • type

      public byte type
    • kind

      public byte kind
    • flags

      public short flags
    • data

      public Kstat2.Kstat2NV.UNION data
  • Constructor Details

    • Kstat2NV

      public Kstat2NV()
    • Kstat2NV

      public Kstat2NV(com.sun.jna.Pointer p)
  • Method Details

    • read

      public void read()
      Overrides:
      read in class com.sun.jna.Structure