Package com.db4o.diagnostic
Interface DiagnosticConfiguration
- 
- All Known Implementing Classes:
- DiagnosticProcessor
 
 public interface DiagnosticConfigurationprovides methods to configure the behaviour of db4o diagnostics.
 Diagnostic system can be enabled on a running db4o database to notify a user about possible problems or misconfigurations. Diagnostic listeners can be be added and removed with calls to this interface. To install the most basic listener call:
 EmbeddedConfiguration config = Db4oEmbedded.newConfiguration();
 config.common().diagnostic().addListener(new DiagnosticToConsole());- See Also:
- Configuration.diagnostic(),- DiagnosticListener
 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddListener(DiagnosticListener listener)adds a DiagnosticListener to listen to Diagnostic messages.voidremoveAllListeners()removes all DiagnosticListeners.
 
- 
- 
- 
Method Detail- 
addListenervoid addListener(DiagnosticListener listener) adds a DiagnosticListener to listen to Diagnostic messages.
 - 
removeAllListenersvoid removeAllListeners() removes all DiagnosticListeners.
 
- 
 
-