Class ReplicationEntry.ReplicationEntryBuilder
java.lang.Object
org.gridgain.internal.dcr.metastorage.ReplicationEntry.ReplicationEntryBuilder
- Enclosing class:
- ReplicationEntry
Builder for
ReplicationEntry.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionauthConfig(@Nullable AuthConfigEntry authConfig) build()Builds new entry instance.exception(@Nullable ExceptionEntry exceptionEntry) flushPoint(@Nullable Instant flushPoint) replicationNodes(@Nullable Set<String> replicationNodes) Replace set of replicationNodes in replication entry with a new one.replicationNodes(String... replicationNodes) sourceClusterAddresses(Set<String> sourceClusterAddresses) sourceClusterName(String sourceClusterName) sslConfig(@Nullable SslConfigEntry sslConfig) status(ReplicationStatus status) tableStatuses(@Nullable Map<String, ReplicationStatus> tableStatuses) Replace list of table in replication entry with a new one.workerNode(String workerNode)
-
Constructor Details
-
ReplicationEntryBuilder
public ReplicationEntryBuilder()
-
-
Method Details
-
sourceClusterAddresses
public ReplicationEntry.ReplicationEntryBuilder sourceClusterAddresses(Set<String> sourceClusterAddresses) -
authConfig
public ReplicationEntry.ReplicationEntryBuilder authConfig(@Nullable @Nullable AuthConfigEntry authConfig) -
sslConfig
public ReplicationEntry.ReplicationEntryBuilder sslConfig(@Nullable @Nullable SslConfigEntry sslConfig) -
sourceClusterName
-
workerNode
-
schema
-
flushPoint
-
replicationNodes
public ReplicationEntry.ReplicationEntryBuilder replicationNodes(@Nullable @Nullable Set<String> replicationNodes) Replace set of replicationNodes in replication entry with a new one.- Parameters:
replicationNodes- set of replication nodes.- Returns:
- builder.
-
replicationNodes
-
status
-
exception
public ReplicationEntry.ReplicationEntryBuilder exception(@Nullable @Nullable ExceptionEntry exceptionEntry) -
tableStatuses
public ReplicationEntry.ReplicationEntryBuilder tableStatuses(@Nullable @Nullable Map<String, ReplicationStatus> tableStatuses) Replace list of table in replication entry with a new one.- Parameters:
tableStatuses- list of tables with statuses..- Returns:
- builder.
-
build
Builds new entry instance.- Returns:
- Replication entry with builder arguments.
-