-
public abstract class AbstractWorkManagerReplicatorConfiguration
-
-
Field Summary
Fields Modifier and Type Field Description private final Set<Collection>
collections
private ReplicatorType
type
private Authenticator
authenticator
private Map<String, String>
headers
private X509Certificate
pinnedServerCertificate
private Boolean
enableAutoPurge
-
Constructor Summary
Constructors Constructor Description AbstractWorkManagerReplicatorConfiguration(ReplicatorConfiguration replConfig)
-
Method Summary
Modifier and Type Method Description final Set<Collection>
getCollections()
final ReplicatorType
getType()
final Unit
setType(ReplicatorType type)
final Authenticator
getAuthenticator()
final Unit
setAuthenticator(Authenticator authenticator)
final Map<String, String>
getHeaders()
final Unit
setHeaders(Map<String, String> headers)
final X509Certificate
getPinnedServerCertificate()
final Unit
setPinnedServerCertificate(X509Certificate pinnedServerCertificate)
final Boolean
getEnableAutoPurge()
final Unit
setEnableAutoPurge(Boolean enableAutoPurge)
final ReplicatorConfiguration
getConfig()
final Unit
addCollection(Collection collection, CollectionConfiguration collectionConfig)
final Unit
addCollections(Collection<Collection> collections, CollectionConfiguration collectionConfig)
final Unit
removeCollection(Collection collection)
-
-
Method Detail
-
getCollections
final Set<Collection> getCollections()
-
getType
final ReplicatorType getType()
-
getAuthenticator
final Authenticator getAuthenticator()
-
setAuthenticator
final Unit setAuthenticator(Authenticator authenticator)
-
getHeaders
final Map<String, String> getHeaders()
-
setHeaders
final Unit setHeaders(Map<String, String> headers)
-
getPinnedServerCertificate
final X509Certificate getPinnedServerCertificate()
-
setPinnedServerCertificate
final Unit setPinnedServerCertificate(X509Certificate pinnedServerCertificate)
-
getEnableAutoPurge
final Boolean getEnableAutoPurge()
-
setEnableAutoPurge
final Unit setEnableAutoPurge(Boolean enableAutoPurge)
-
getConfig
final ReplicatorConfiguration getConfig()
-
addCollection
final Unit addCollection(Collection collection, CollectionConfiguration collectionConfig)
-
addCollections
final Unit addCollections(Collection<Collection> collections, CollectionConfiguration collectionConfig)
-
removeCollection
final Unit removeCollection(Collection collection)
-
-
-
-