Class DiagnosticableGeneric

java.lang.Object
org.apache.derby.iapi.services.diag.DiagnosticableGeneric
All Implemented Interfaces:
Diagnosticable
Direct Known Subclasses:
D_BaseContainerHandle, D_BTreeController, D_ContainerKey, D_ContainerLock, D_FlushedScan, D_HeapController, D_LogToFile, D_RecordId, D_RowLock, D_Xact

public class DiagnosticableGeneric extends Object implements Diagnosticable
The Diagnosticable class implements the Diagnostics protocol, and can be used as the parent class for all other Diagnosticable objects.
  • Field Details

    • diag_object

      protected Object diag_object
  • Constructor Details

    • DiagnosticableGeneric

      public DiagnosticableGeneric()
  • Method Details

    • init

      public void init(Object obj)
      Specified by:
      init in interface Diagnosticable
    • diag

      public String diag() throws StandardException
      Default implementation of diagnostic on the object.

      This routine returns a string with whatever diagnostic information you would like to provide about this object.

      This routine should be overriden by a real implementation of the diagnostic information you would like to provide.

      Specified by:
      diag in interface Diagnosticable
      Returns:
      A string with diagnostic information about the object.
      Throws:
      StandardException - Standard exception policy.
    • diag_detail

      public void diag_detail(Properties prop) throws StandardException
      Default implementation of detail diagnostic on the object.

      This routine should be overriden if there is detail diagnostics to be provided by a real implementation.

      Specified by:
      diag_detail in interface Diagnosticable
      Throws:
      StandardException - Standard exception policy.