Package io.objectbox
Class DebugFlags
- java.lang.Object
-
- io.objectbox.DebugFlags
-
public final class DebugFlags extends java.lang.ObjectDebug flags typically enable additional "debug logging" that can be helpful to better understand what is going on internally. These are intended for the development process only; typically one does not enable them for releases.
-
-
Field Summary
Fields Modifier and Type Field Description static intLOG_ASYNC_QUEUEstatic intLOG_CACHE_ALLstatic intLOG_CACHE_HITSstatic intLOG_EXCEPTION_STACK_TRACEFor a limited number of error conditions, this will try to print stack traces.static intLOG_QUERIESstatic intLOG_QUERY_PARAMETERSstatic intLOG_TRANSACTIONS_READstatic intLOG_TRANSACTIONS_WRITEstatic intLOG_TREEstatic intRUN_THREADING_SELF_TESTRun a quick self-test to verify basic threading; somewhat paranoia to check the platform and the library setup.
-
-
-
Field Detail
-
LOG_TRANSACTIONS_READ
public static final int LOG_TRANSACTIONS_READ
- See Also:
- Constant Field Values
-
LOG_TRANSACTIONS_WRITE
public static final int LOG_TRANSACTIONS_WRITE
- See Also:
- Constant Field Values
-
LOG_QUERIES
public static final int LOG_QUERIES
- See Also:
- Constant Field Values
-
LOG_QUERY_PARAMETERS
public static final int LOG_QUERY_PARAMETERS
- See Also:
- Constant Field Values
-
LOG_ASYNC_QUEUE
public static final int LOG_ASYNC_QUEUE
- See Also:
- Constant Field Values
-
LOG_CACHE_HITS
public static final int LOG_CACHE_HITS
- See Also:
- Constant Field Values
-
LOG_CACHE_ALL
public static final int LOG_CACHE_ALL
- See Also:
- Constant Field Values
-
LOG_TREE
public static final int LOG_TREE
- See Also:
- Constant Field Values
-
LOG_EXCEPTION_STACK_TRACE
public static final int LOG_EXCEPTION_STACK_TRACE
For a limited number of error conditions, this will try to print stack traces. Note: this is Linux-only, experimental, and has several limitations: The usefulness of these stack traces depends on several factors and might not be helpful at all.- See Also:
- Constant Field Values
-
RUN_THREADING_SELF_TEST
public static final int RUN_THREADING_SELF_TEST
Run a quick self-test to verify basic threading; somewhat paranoia to check the platform and the library setup.- See Also:
- Constant Field Values
-
-