Package io.objectbox.sync
Class SyncHybridBuilder
java.lang.Object
io.objectbox.sync.SyncHybridBuilder
Builder for a Sync client and server hybrid setup, a
SyncHybrid
.
To change the server/cluster configuration, call serverBuilder()
, and for the client configuration
clientBuilder()
.
-
Method Summary
Modifier and TypeMethodDescriptionBuilds, starts and returns the hybrid.Returns the builder of the client of the hybrid for additional configuration.Returns the builder of the server of the hybrid for additional configuration.
-
Method Details
-
clientBuilder
Returns the builder of the client of the hybrid for additional configuration. -
serverBuilder
Returns the builder of the server of the hybrid for additional configuration. -
buildAndStart
Builds, starts and returns the hybrid.Ensures the correct order of starting the server and client.
-