Uses of Class
io.objectbox.sync.server.SyncServerBuilder
Packages that use SyncServerBuilder
Package
Description
ObjectBox Sync allows to automatically synchronize local data with a sync
destination (e.g.
-
Uses of SyncServerBuilder in io.objectbox.sync
Fields in io.objectbox.sync declared as SyncServerBuilderMethods in io.objectbox.sync that return SyncServerBuilderModifier and TypeMethodDescriptionstatic SyncServerBuilderSync.server(BoxStore boxStore, String url, SyncCredentials authenticatorCredentials) Starts building aSyncServer.static SyncServerBuilderSync.server(BoxStore boxStore, String url, SyncCredentials[] multipleAuthenticatorCredentials) Starts building aSyncServer.SyncHybridBuilder.serverBuilder()Returns the builder of the server of the hybrid for additional configuration. -
Uses of SyncServerBuilder in io.objectbox.sync.server
Methods in io.objectbox.sync.server that return SyncServerBuilderModifier and TypeMethodDescriptionSyncServerBuilder.authenticatorCredentials(SyncCredentials authenticatorCredentials) Adds additional authenticator credentials to authenticate clients or peers with.SyncServerBuilder.authenticatorCredentials(SyncCredentials[] multipleAuthenticatorCredentials) Adds additional authenticator credentials to authenticate clients or peers with.SyncServerBuilder.certificatePath(String certificatePath) Sets the path to a directory that contains a cert.pem and key.pem file to use to establish encrypted connections.SyncServerBuilder.changeListener(SyncChangeListener changeListener) Sets a listener to observe fine granular changes happening during sync.SyncServerBuilder.clusterFlags(int flags) Sets bit flags to configure the cluster behavior of the Sync server (aka cluster peer).Enables cluster mode (requires the Cluster feature) and associates this cluster peer with the given ID.SyncServerBuilder.clusterPeer(String url, SyncCredentials credentials) Adds a (remote) cluster peer, to which this server should connect to as a client using the given credentials.SyncServerBuilder.historySizeMaxKb(long historySizeMaxKb) Sets the maximum transaction history size.SyncServerBuilder.historySizeTargetKb(long historySizeTargetKb) Sets the target transaction history size.SyncServerBuilder.jwtConfigClaimAud(String claimAud) Set the JWT claim "aud" (audience) used to verify JWT tokens.SyncServerBuilder.jwtConfigClaimIss(String claimIss) Set the JWT claim "iss" (issuer) used to verify JWT tokens.SyncServerBuilder.jwtConfigPublicKey(String publicKey) Set the public key used to verify JWT tokens.SyncServerBuilder.jwtConfigPublicKeyUrl(String publicKeyUrl) Set the JWKS (Json Web Key Sets) URL to fetch the current public key used to verify JWT tokens.Deprecated.SyncServerBuilder.peer(String url, SyncCredentials credentials) Deprecated.UseclusterPeer(String, SyncCredentials)instead.SyncServerBuilder.syncFlags(int syncFlags) Sets bit flags to adjust Sync behavior, like additional logging.SyncServerBuilder.syncServerFlags(int syncServerFlags) Sets bit flags to configure the Sync server.SyncServerBuilder.workerThreads(int workerThreads) Sets the number of workers for the main task pool.Constructors in io.objectbox.sync.server with parameters of type SyncServerBuilder
clusterPeer(url, SyncCredentials.none())instead.