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 java.lang.Object implements Diagnosticable
The Diagnosticable class implements the Diagnostics protocol, and can be used as the parent class for all other Diagnosticable objects.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.Objectdiag_object
-
Constructor Summary
Constructors Constructor Description DiagnosticableGeneric()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Stringdiag()Default implementation of diagnostic on the object.voiddiag_detail(java.util.Properties prop)Default implementation of detail diagnostic on the object.voidinit(java.lang.Object obj)
-
-
-
Method Detail
-
init
public void init(java.lang.Object obj)
- Specified by:
initin interfaceDiagnosticable
-
diag
public java.lang.String diag() throws StandardExceptionDefault 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:
diagin interfaceDiagnosticable- Returns:
- A string with diagnostic information about the object.
- Throws:
StandardException- Standard exception policy.
-
diag_detail
public void diag_detail(java.util.Properties prop) throws StandardExceptionDefault 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_detailin interfaceDiagnosticable- Throws:
StandardException- Standard exception policy.
-
-