public final class Debug4
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static boolean |
atHome
prints more stack traces
|
static boolean |
checkSychronization
checks monitor conditions to make sure only the thread
with the global monitor is allowed entry to the core
|
static boolean |
configureAllClasses
makes sure a configuration entry is generated for each persistent
class
|
static boolean |
configureAllFields
makes sure a configuration entry is generated for each persistent
field
|
static boolean |
freespace
turns freespace debuggin on
|
static boolean |
indexAllFields
indexes all fields
|
static boolean |
lockFile
allows overriding the file locking mechanism to turn it off
|
static boolean |
longTimeOuts
makes C/S timeouts longer, so C/S does not time out in the debugger
|
static boolean |
messages
prints all communicated messages to the console
|
static boolean |
nio
allows turning NIO off on Java
|
static boolean |
queries
prints query graph information to the console
|
static 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
|
static boolean |
weakReferences
allows turning weak references off
|
static boolean |
xbytes
fills deleted slots with 'X' and overrides any configured
freespace filler
|
| Modifier and Type | Method and 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) |
public static final boolean indexAllFields
public static final boolean queries
public static final boolean staticIdentity
public static final boolean atHome
public static final boolean longTimeOuts
public static final boolean freespace
public static final boolean xbytes
public static final boolean checkSychronization
public static final boolean configureAllClasses
public static final boolean configureAllFields
public static final boolean weakReferences
public static final boolean messages
public static final boolean nio
public static final boolean lockFile
public static void expect(boolean cond)
public static void ensureLock(java.lang.Object obj)
public static boolean exceedsMaximumBlockSize(int a_length)
public static boolean exceedsMaximumArrayEntries(int a_entries,
boolean a_primitive)
public static final void readBegin(ReadBuffer buffer, byte identifier)
public static final void readEnd(ReadBuffer buffer)
public static final void writeBegin(WriteBuffer buffer, byte identifier)
public static final void writeEnd(WriteBuffer buffer)