Class CdcReplicationExecNodes

java.lang.Object
org.gridgain.internal.cdc.api.replication.CdcReplicationExecNodes

public class CdcReplicationExecNodes extends Object
CDC replication execution nodes.

This class represents the nodes where the CDC replication is executed. It contains a list of node identifiers that are going to be used for the replication process. If the list is empty, it means that the replication will be executed on any node in the cluster.

  • Constructor Details

    • CdcReplicationExecNodes

      public CdcReplicationExecNodes()
      Constructor needed for deserialization.
    • CdcReplicationExecNodes

      public CdcReplicationExecNodes(@Nullable @Nullable List<String> nodes)
  • Method Details

    • nodes

      @Nullable public @Nullable List<String> nodes()
      Returns the list of node identifiers where the CDC replication is executed.
      Returns:
      List of node identifiers.
    • any

      public static CdcReplicationExecNodes any()
      Choose any node for the CDC replication.
    • of

      public static CdcReplicationExecNodes of(String... nodes)
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object