Package com.db4o
Class Debug4
- java.lang.Object
- 
- com.db4o.Debug4
 
- 
 public final class Debug4 extends java.lang.Object
- 
- 
Field SummaryFields Modifier and Type Field Description static booleanatHomeprints more stack tracesstatic booleancheckSychronizationchecks monitor conditions to make sure only the thread with the global monitor is allowed entry to the corestatic booleanconfigureAllClassesmakes sure a configuration entry is generated for each persistent classstatic booleanconfigureAllFieldsmakes sure a configuration entry is generated for each persistent fieldstatic booleanfreespaceturns freespace debuggin onstatic booleanindexAllFieldsindexes all fieldsstatic booleanlockFileallows overriding the file locking mechanism to turn it offstatic booleanlongTimeOutsmakes C/S timeouts longer, so C/S does not time out in the debuggerstatic booleanmessagesprints all communicated messages to the consolestatic booleannioallows turning NIO off on Javastatic booleanqueriesprints query graph information to the consolestatic booleanstaticIdentityallows 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 booleanweakReferencesallows turning weak references offstatic booleanxbytesfills deleted slots with 'X' and overrides any configured freespace filler
 - 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static voidensureLock(java.lang.Object obj)static booleanexceedsMaximumArrayEntries(int a_entries, boolean a_primitive)static booleanexceedsMaximumBlockSize(int a_length)static voidexpect(boolean cond)static voidreadBegin(ReadBuffer buffer, byte identifier)static voidreadEnd(ReadBuffer buffer)static voidwriteBegin(WriteBuffer buffer, byte identifier)static voidwriteEnd(WriteBuffer buffer)
 
- 
- 
- 
Field Detail- 
indexAllFieldspublic static final boolean indexAllFields indexes all fields- See Also:
- Constant Field Values
 
 - 
queriespublic static final boolean queries prints query graph information to the console- See Also:
- Constant Field Values
 
 - 
staticIdentitypublic 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
 
 - 
atHomepublic static final boolean atHome prints more stack traces- See Also:
- Constant Field Values
 
 - 
longTimeOutspublic static final boolean longTimeOuts makes C/S timeouts longer, so C/S does not time out in the debugger- See Also:
- Constant Field Values
 
 - 
freespacepublic static final boolean freespace turns freespace debuggin on- See Also:
- Constant Field Values
 
 - 
xbytespublic static final boolean xbytes fills deleted slots with 'X' and overrides any configured freespace filler- See Also:
- Constant Field Values
 
 - 
checkSychronizationpublic 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
 
 - 
configureAllClassespublic static final boolean configureAllClasses makes sure a configuration entry is generated for each persistent class- See Also:
- Constant Field Values
 
 - 
configureAllFieldspublic static final boolean configureAllFields makes sure a configuration entry is generated for each persistent field- See Also:
- Constant Field Values
 
 - 
weakReferencespublic static final boolean weakReferences allows turning weak references off- See Also:
- Constant Field Values
 
 - 
messagespublic static final boolean messages prints all communicated messages to the console- See Also:
- Constant Field Values
 
 - 
niopublic static final boolean nio allows turning NIO off on Java- See Also:
- Constant Field Values
 
 - 
lockFilepublic static final boolean lockFile allows overriding the file locking mechanism to turn it off- See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
expectpublic static void expect(boolean cond) 
 - 
ensureLockpublic static void ensureLock(java.lang.Object obj) 
 - 
exceedsMaximumBlockSizepublic static boolean exceedsMaximumBlockSize(int a_length) 
 - 
exceedsMaximumArrayEntriespublic static boolean exceedsMaximumArrayEntries(int a_entries, boolean a_primitive)
 - 
readBeginpublic static final void readBegin(ReadBuffer buffer, byte identifier) 
 - 
readEndpublic static final void readEnd(ReadBuffer buffer) 
 - 
writeBeginpublic static final void writeBegin(WriteBuffer buffer, byte identifier) 
 - 
writeEndpublic static final void writeEnd(WriteBuffer buffer) 
 
- 
 
-