Docs Menu

Class Sync.Debug

On this page

  • io.realm.mongodb.sync
  • Constructors
  • Field Summary
  • Inherited Methods
  • Field Detail
  • separatedDirForSyncManager
  • skipOnlineChecking
  • Constructor Detail
java.lang.Object
io.realm.mongodb.sync.Sync.Debug

Enclosing class:

Sync

Debugging related options.

Constructor and Description
Modifier and Type
Field and Description
public static boolean

separatedDirForSyncManager

Set this to true to init a SyncManager with a directory named by the process ID. This is useful for integration tests which are emulating multiple sync client by using multiple processes.

public static boolean

skipOnlineChecking

Set this to true to bypass checking if the device is offline before making HTTP requests.

  • Methods inherited from class java.lang.Object : getClass , hashCode , equals , clone , toString , notify , notifyAll , wait , wait , wait , finalize

Set this to true to init a SyncManager with a directory named by the process ID. This is useful for integration tests which are emulating multiple sync client by using multiple processes.

Set this to true to bypass checking if the device is offline before making HTTP requests.

public Debug ()

←  Class SyncInterface SyncClientResetStrategy →
Give Feedback
© 2022 MongoDB, Inc.

About

  • Careers
  • Investor Relations
  • Legal Notices
  • Privacy Notices
  • Security Information
  • Trust Center
© 2022 MongoDB, Inc.