File tree Expand file tree Collapse file tree
objectbox-java/src/main/java/io/objectbox/sync Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11/*
2- * Copyright 2024 ObjectBox Ltd.
2+ * Copyright 2026 ObjectBox Ltd. https://objectbox.io
33 *
44 * Licensed under the Apache License, Version 2.0 (the "License");
55 * you may not use this file except in compliance with the License.
@@ -37,5 +37,26 @@ private SyncFlags() { }
3737 * Client-only: setting this flag for Sync server has no effect.
3838 */
3939 public static final int ClientKeepDataOnSyncError = 2 ;
40+ /**
41+ * Logs sync filter variables used for each client, e.g. values provided by JWT or the client's login message.
42+ * Server-only: setting this flag for Sync client has no effect.
43+ */
44+ public static final int DebugLogFilterVariables = 4 ;
45+ /**
46+ * When set, remove operations will include the full object data in the TX log (REMOVE_OBJECT command).
47+ * This allows sync filters to filter out remove operations based on the object content.
48+ * Without this flag, remove operations only contain the object ID and cannot be filtered.
49+ * Note: this increases the size of TX logs for remove operations.
50+ */
51+ public static final int RemoveWithObjectData = 8 ;
52+ /**
53+ * Enables debug logging of TX log processing.
54+ * For now, this only has an effect on SyncClients (Sync Server has extensive debug logs already).
55+ */
56+ public static final int DebugLogTxLogs = 16 ;
57+ /**
58+ * Skips invalid (put object) operations in the TX log instead of failing.
59+ */
60+ public static final int SkipInvalidTxOps = 32 ;
4061}
4162
You can’t perform that action at this time.
0 commit comments