|
db4o 7.4 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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());
Configuration.diagnostic()
,
DiagnosticListener
Method Summary | |
---|---|
void |
addListener(DiagnosticListener listener)
adds a DiagnosticListener to listen to Diagnostic messages. |
void |
removeAllListeners()
removes all DiagnosticListeners. |
Method Detail |
---|
void addListener(DiagnosticListener listener)
void removeAllListeners()
|
db4o 7.4 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |