SyncServerBuilder |
SyncServerBuilder.authenticatorCredentials(SyncCredentials authenticatorCredentials) |
Adds additional authenticator credentials to authenticate clients or peers with.
|
SyncServerBuilder |
SyncServerBuilder.authenticatorCredentials(SyncCredentials[] multipleAuthenticatorCredentials) |
Adds additional authenticator credentials to authenticate clients or peers with.
|
SyncServerBuilder |
SyncServerBuilder.certificatePath(java.lang.String certificatePath) |
Sets the path to a directory that contains a cert.pem and key.pem file to use to establish encrypted
connections.
|
SyncServerBuilder |
SyncServerBuilder.changeListener(SyncChangeListener changeListener) |
Sets a listener to observe fine granular changes happening during sync.
|
SyncServerBuilder |
SyncServerBuilder.clusterFlags(int flags) |
Sets bit flags to configure the cluster behavior of the Sync server (aka cluster peer).
|
SyncServerBuilder |
SyncServerBuilder.clusterId(java.lang.String id) |
Enables cluster mode (requires the Cluster feature) and associates this cluster peer with the given ID.
|
SyncServerBuilder |
SyncServerBuilder.clusterPeer(java.lang.String url,
SyncCredentials credentials) |
Adds a (remote) cluster peer, to which this server should connect to as a client using the given credentials.
|
SyncServerBuilder |
SyncServerBuilder.historySizeMaxKb(long historySizeMaxKb) |
Sets the maximum transaction history size.
|
SyncServerBuilder |
SyncServerBuilder.historySizeTargetKb(long historySizeTargetKb) |
Sets the target transaction history size.
|
SyncServerBuilder |
SyncServerBuilder.jwtConfigClaimAud(java.lang.String claimAud) |
Set the JWT claim "aud" (audience) used to verify JWT tokens.
|
SyncServerBuilder |
SyncServerBuilder.jwtConfigClaimIss(java.lang.String claimIss) |
Set the JWT claim "iss" (issuer) used to verify JWT tokens.
|
SyncServerBuilder |
SyncServerBuilder.jwtConfigPublicKey(java.lang.String publicKey) |
Set the public key used to verify JWT tokens.
|
SyncServerBuilder |
SyncServerBuilder.jwtConfigPublicKeyUrl(java.lang.String publicKeyUrl) |
Set the JWKS (Json Web Key Sets) URL to fetch the current public key used to verify JWT tokens.
|
SyncServerBuilder |
SyncServerBuilder.peer(java.lang.String url) |
Deprecated.
|
SyncServerBuilder |
SyncServerBuilder.peer(java.lang.String url,
SyncCredentials credentials) |
Deprecated.
|
SyncServerBuilder |
SyncServerBuilder.syncFlags(int syncFlags) |
Sets bit flags to adjust Sync behavior, like additional logging.
|
SyncServerBuilder |
SyncServerBuilder.syncServerFlags(int syncServerFlags) |
Sets bit flags to configure the Sync server.
|
SyncServerBuilder |
SyncServerBuilder.workerThreads(int workerThreads) |
Sets the number of workers for the main task pool.
|