Package org.gridgain.internal.dcr
Class ReplicationInfo
java.lang.Object
org.gridgain.internal.dcr.ReplicationInfo
Replication info.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classReplication info builder. -
Constructor Summary
ConstructorsConstructorDescriptionReplicationInfo(String name, Set<String> sourceClusterAddresses, @Nullable AuthConfig authConfig, @Nullable SslConfig sslConfig, String sourceClusterName, String targetClusterName, String workerNodeName, @Nullable String schemaName, ReplicationStatus status, int fstProgress, @Nullable ReplicationException exception, Map<String, ReplicationStatus> tableStatuses) Constructor. -
Method Summary
Modifier and TypeMethodDescription@Nullable AuthConfigbuilder()boolean@Nullable ReplicationExceptionintProgress of fst.inthashCode()name()@Nullable SslConfigstatus()
-
Constructor Details
-
ReplicationInfo
public ReplicationInfo(String name, Set<String> sourceClusterAddresses, @Nullable @Nullable AuthConfig authConfig, @Nullable @Nullable SslConfig sslConfig, String sourceClusterName, String targetClusterName, String workerNodeName, @Nullable @Nullable String schemaName, ReplicationStatus status, int fstProgress, @Nullable @Nullable ReplicationException exception, Map<String, ReplicationStatus> tableStatuses) Constructor.- Parameters:
name- Replication name.sourceClusterAddresses- A set of source cluster node addresses.sourceClusterName- Source cluster name.targetClusterName- Target cluster name.workerNodeName- Worker node name.schemaName- Schema name.status- Replication status.fstProgress- progress of FST process.exception- replication exception.tableStatuses- List of table statuses.
-
-
Method Details
-
name
-
sourceClusterAddresses
-
authConfig
-
sslConfig
-
sourceClusterName
-
targetClusterName
-
workerNodeName
-
schemaName
-
status
-
fstProgress
public int fstProgress()Progress of fst. From 0.0 to 1.0. 1.0 means 100% of data were transferred.- Returns:
- full state transfer progress.
-
exception
-
tableStatuses
-
equals
-
hashCode
public int hashCode() -
builder
-