File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed
objectbox-java/src/main/java/io/objectbox/model Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -27,6 +27,15 @@ private SyncFlags() { }
27
27
/**
28
28
* Enable (rather extensive) logging on how IDs are mapped (local <-> global)
29
29
*/
30
- public static final int DEBUG_LOG_ID_MAPPING = 1 ;
30
+ public static final int DebugLogIdMapping = 1 ;
31
+ /**
32
+ * If the client gets in a state that does not allow any further synchronization, this flag instructs Sync to
33
+ * keep local data nevertheless. While this preserves data, you need to resolve the situation manually.
34
+ * For example, you could backup the data and start with a fresh database.
35
+ * Note that the default behavior (this flag is not set) is to wipe existing data from all sync-enabled types and
36
+ * sync from scratch from the server.
37
+ * Client-only: setting this flag for Sync server has no effect.
38
+ */
39
+ public static final int ClientKeepDataOnSyncError = 2 ;
31
40
}
32
41
You can’t perform that action at this time.
0 commit comments