All Implemented Interfaces:
Serializable

public class MemoryResult extends TableMultiResult implements Serializable
Author:
AO Industries, Inc.
See Also:
  • Constructor Details

    • MemoryResult

      public MemoryResult(long time, long latency, AlertLevel alertLevel, String error)
    • MemoryResult

      public MemoryResult(long time, long latency, AlertLevel alertLevel, long memTotal, long memFree, long buffers, long cached, long swapTotal, long swapFree)
  • Method Details

    • getRowDataSize

      public int getRowDataSize()
      Description copied from class: TableMultiResult
      Gets the number of data elements for this result.
      Specified by:
      getRowDataSize in class TableMultiResult
    • getRowData

      public ApproximateDisplayExactSize getRowData(int index)
      Description copied from class: TableMultiResult
      Gets the data for one row. This should not include the time and latency, they are implied. When there is an error, getRowData will not be checked and should return null.
      Specified by:
      getRowData in class TableMultiResult
    • getMemTotal

      public long getMemTotal()
    • getMemFree

      public long getMemFree()
    • getBuffers

      public long getBuffers()
    • getCached

      public long getCached()
    • getSwapTotal

      public long getSwapTotal()
    • getSwapFree

      public long getSwapFree()