Class ReplicationInfo

java.lang.Object
org.gridgain.internal.dcr.ReplicationInfo

public class ReplicationInfo extends Object
Replication info.
  • 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

      public String name()
    • sourceClusterAddresses

      public Set<String> sourceClusterAddresses()
    • authConfig

      @Nullable public @Nullable AuthConfig authConfig()
    • sslConfig

      @Nullable public @Nullable SslConfig sslConfig()
    • sourceClusterName

      public String sourceClusterName()
    • targetClusterName

      public String targetClusterName()
    • workerNodeName

      public String workerNodeName()
    • schemaName

      public String schemaName()
    • status

      public ReplicationStatus 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

      @Nullable public @Nullable ReplicationException exception()
    • tableStatuses

      public Map<String,ReplicationStatus> tableStatuses()
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • builder

      public static ReplicationInfo.ReplicationInfoBuilder builder()