Class SyncConfiguration
- java.lang.Object
-
- com.mongodb.stitch.core.services.mongodb.remote.sync.internal.SyncConfiguration
-
public final class SyncConfiguration extends Object
Properties representing the configuration of an app client that communicate with a particular MongoDB Stitch application.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SyncConfiguration.Builder
A builder that can build aSyncConfiguration
object.
-
Method Summary
Modifier and Type Method Description SyncConfiguration.Builder
builder()
Gets the builder form of this configuration.ChangeEventListener<?>
getChangeEventListener()
Gets the ChangeEventListener for the SyncConfigurationCodec<?>
getCodec()
Gets the Codec for the SyncConfigurationConflictHandler<?>
getConflictHandler()
Gets the ConflictHandler for the SyncConfigurationExceptionListener
getExceptionListener()
Gets the ExceptionListener for the SyncConfigurationSyncFrequency
getSyncFrequency()
Gets the SyncFrequency for the SyncConfiguration
-
-
-
Method Detail
-
getConflictHandler
public ConflictHandler<?> getConflictHandler()
Gets the ConflictHandler for the SyncConfiguration- Returns:
- the ConflictHandler for the SyncConfiguration.
-
getChangeEventListener
public ChangeEventListener<?> getChangeEventListener()
Gets the ChangeEventListener for the SyncConfiguration- Returns:
- the ChangeEventListener for the SyncConfiguration.
-
getExceptionListener
public ExceptionListener getExceptionListener()
Gets the ExceptionListener for the SyncConfiguration- Returns:
- the ExceptionListener for the SyncConfiguration.
-
getSyncFrequency
public SyncFrequency getSyncFrequency()
Gets the SyncFrequency for the SyncConfiguration- Returns:
- the SyncFrequency for the SyncConfiguration.
-
getCodec
public Codec<?> getCodec()
Gets the Codec for the SyncConfiguration- Returns:
- the Codec for the SyncConfiguration.
-
builder
public SyncConfiguration.Builder builder()
Gets the builder form of this configuration.- Returns:
- the builder form of this configuration.
-
-