Class Replica

java.lang.Object
com.linkedin.venice.helix.Replica

public class Replica extends Object
Replica is the basic unit to distribute data, replica is belong to a partition and running in a instance.
  • Constructor Details

    • Replica

      public Replica(Instance instance, int partitionId, String resource)
  • Method Details

    • getInstance

      public Instance getInstance()
    • getPartitionId

      public int getPartitionId()
    • getResource

      public String getResource()
    • getStatus

      public HelixState getStatus()
    • setStatus

      public void setStatus(String status)
      Used by the JSON deserializer
    • setStatus

      public void setStatus(HelixState status)
    • toString

      public String toString()
      Overrides:
      toString in class Object