db4o 7.4

com.db4o.diagnostic
Interface DiagnosticConfiguration


public interface DiagnosticConfiguration

provides 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:
Db4o.configure().diagnostic().addListener(new DiagnosticToConsole());

See Also:
Configuration.diagnostic(), DiagnosticListener

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 7.4

Copyright 2007 db4objects Inc. All rights reserved.