db4o 6.1

com.db4o.diagnostic
Interface DiagnosticConfiguration


public interface DiagnosticConfiguration

provides methods to configure the behaviour of db4o diagnostics.

Diagnostic listeners can be be added and removed with calls to this interface. To install the most basic listener call:
Db4o.configure().diagnostic().addListener(new DiagnosticToConsole());


Method Summary
 void addListener(DiagnosticListener listener)
          adds a DiagnosticListener to listen to Diagnostic messages.
 void removeAllListeners()
          removes all DiagnosticListeners.
 

Method Detail

addListener

void addListener(DiagnosticListener listener)
adds a DiagnosticListener to listen to Diagnostic messages.


removeAllListeners

void removeAllListeners()
removes all DiagnosticListeners.


db4o 6.1