File tree Expand file tree Collapse file tree 2 files changed +16
-0
lines changed
objectbox-java/src/main/java/io/objectbox Expand file tree Collapse file tree 2 files changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -33,5 +33,15 @@ private DebugFlags() { }
3333 public static final int LOG_CACHE_HITS = 32 ;
3434 public static final int LOG_CACHE_ALL = 64 ;
3535 public static final int LOG_TREE = 128 ;
36+ /**
37+ * For a limited number of error conditions, this will try to print stack traces.
38+ * Note: this is Linux-only, experimental, and has several limitations:
39+ * The usefulness of these stack traces depends on several factors and might not be helpful at all.
40+ */
41+ public static final int LOG_EXCEPTION_STACK_TRACE = 256 ;
42+ /**
43+ * Run a quick self-test to verify basic threading; somewhat paranoia to check the platform and the library setup.
44+ */
45+ public static final int RUN_THREADING_SELF_TEST = 512 ;
3646}
3747
Original file line number Diff line number Diff line change @@ -97,5 +97,11 @@ private PropertyFlags() { }
9797 * Unique on-conflict strategy: the object being put replaces any existing conflicting object (deletes it).
9898 */
9999 public static final int UNIQUE_ON_CONFLICT_REPLACE = 32768 ;
100+ /**
101+ * If a date property has this flag (max. one per entity type), the date value specifies the time by which
102+ * the object expires, at which point it MAY be deleted. There's no strict guarantee when the deletion happens.
103+ * However, the deletion process can be triggered by an API call.
104+ */
105+ public static final int EXPIRATION_TIME = 65536 ;
100106}
101107
You can’t perform that action at this time.
0 commit comments