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.Object
diag_object
-
Constructor Summary
Constructors Constructor Description DiagnosticableGeneric()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
diag()
Default implementation of diagnostic on the object.void
diag_detail(java.util.Properties prop)
Default implementation of detail diagnostic on the object.void
init(java.lang.Object obj)
-
-
-
Method Detail
-
init
public void init(java.lang.Object obj)
- Specified by:
init
in interfaceDiagnosticable
-
diag
public java.lang.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 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 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 interfaceDiagnosticable
- Throws:
StandardException
- Standard exception policy.
-
-