Package com.db4o
Class Debug4
- java.lang.Object
-
- com.db4o.Debug4
-
public final class Debug4 extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static boolean
atHome
prints more stack tracesstatic boolean
checkSychronization
checks monitor conditions to make sure only the thread with the global monitor is allowed entry to the corestatic boolean
configureAllClasses
makes sure a configuration entry is generated for each persistent classstatic boolean
configureAllFields
makes sure a configuration entry is generated for each persistent fieldstatic boolean
freespace
turns freespace debuggin onstatic boolean
indexAllFields
indexes all fieldsstatic boolean
lockFile
allows overriding the file locking mechanism to turn it offstatic boolean
longTimeOuts
makes C/S timeouts longer, so C/S does not time out in the debuggerstatic boolean
messages
prints all communicated messages to the consolestatic boolean
nio
allows turning NIO off on Javastatic boolean
queries
prints query graph information to the consolestatic boolean
staticIdentity
allows faking the Db4oDatabase identity object, so the first stored object in the debugger is the actually persisted object Changing this setting to true will fail some tests that expect database files to have identitystatic boolean
weakReferences
allows turning weak references offstatic boolean
xbytes
fills deleted slots with 'X' and overrides any configured freespace filler
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
ensureLock(java.lang.Object obj)
static boolean
exceedsMaximumArrayEntries(int a_entries, boolean a_primitive)
static boolean
exceedsMaximumBlockSize(int a_length)
static void
expect(boolean cond)
static void
readBegin(ReadBuffer buffer, byte identifier)
static void
readEnd(ReadBuffer buffer)
static void
writeBegin(WriteBuffer buffer, byte identifier)
static void
writeEnd(WriteBuffer buffer)
-
-
-
Field Detail
-
indexAllFields
public static final boolean indexAllFields
indexes all fields- See Also:
- Constant Field Values
-
queries
public static final boolean queries
prints query graph information to the console- See Also:
- Constant Field Values
-
staticIdentity
public static final boolean staticIdentity
allows faking the Db4oDatabase identity object, so the first stored object in the debugger is the actually persisted object Changing this setting to true will fail some tests that expect database files to have identity- See Also:
- Constant Field Values
-
atHome
public static final boolean atHome
prints more stack traces- See Also:
- Constant Field Values
-
longTimeOuts
public static final boolean longTimeOuts
makes C/S timeouts longer, so C/S does not time out in the debugger- See Also:
- Constant Field Values
-
freespace
public static final boolean freespace
turns freespace debuggin on- See Also:
- Constant Field Values
-
xbytes
public static final boolean xbytes
fills deleted slots with 'X' and overrides any configured freespace filler- See Also:
- Constant Field Values
-
checkSychronization
public static final boolean checkSychronization
checks monitor conditions to make sure only the thread with the global monitor is allowed entry to the core- See Also:
- Constant Field Values
-
configureAllClasses
public static final boolean configureAllClasses
makes sure a configuration entry is generated for each persistent class- See Also:
- Constant Field Values
-
configureAllFields
public static final boolean configureAllFields
makes sure a configuration entry is generated for each persistent field- See Also:
- Constant Field Values
-
weakReferences
public static final boolean weakReferences
allows turning weak references off- See Also:
- Constant Field Values
-
messages
public static final boolean messages
prints all communicated messages to the console- See Also:
- Constant Field Values
-
nio
public static final boolean nio
allows turning NIO off on Java- See Also:
- Constant Field Values
-
lockFile
public static final boolean lockFile
allows overriding the file locking mechanism to turn it off- See Also:
- Constant Field Values
-
-
Method Detail
-
expect
public static void expect(boolean cond)
-
ensureLock
public static void ensureLock(java.lang.Object obj)
-
exceedsMaximumBlockSize
public static boolean exceedsMaximumBlockSize(int a_length)
-
exceedsMaximumArrayEntries
public static boolean exceedsMaximumArrayEntries(int a_entries, boolean a_primitive)
-
readBegin
public static final void readBegin(ReadBuffer buffer, byte identifier)
-
readEnd
public static final void readEnd(ReadBuffer buffer)
-
writeBegin
public static final void writeBegin(WriteBuffer buffer, byte identifier)
-
writeEnd
public static final void writeEnd(WriteBuffer buffer)
-
-