Class ManagementDiagnostics

java.lang.Object
org.oddjob.util.ManagementDiagnostics
All Implemented Interfaces:
Runnable

public class ManagementDiagnostics extends Object implements Runnable
Some useful diagnostics. This can be dropped into an Oddjob configuration and run.
Author:
rob
  • Constructor Details

    • ManagementDiagnostics

      public ManagementDiagnostics()
  • Method Details

    • run

      public void run()
      Specified by:
      run in interface Runnable
    • getJvmName

      public String getJvmName()
      Getter for jvmName.
      Returns:
      the JVM name.
    • getStartTime

      public Date getStartTime()
      Getter for startTime.
      Returns:
      The JVM start time.
    • getHeapMemory

      public String getHeapMemory()
      Getter for heapMemory.
      Returns:
      Description of heap memory usage.
    • getNonHeapMemory

      public String getNonHeapMemory()
      Getter for nonHeapMemory.
      Returns:
      Description of non heap memory usage.