Class Persona

java.lang.Object
com.linkedin.venice.persona.Persona
Direct Known Subclasses:
ReadPersona, StoragePersona

public class Persona extends Object
A class to represent a Persona, a relationship between stores and a quota system that is enforced. This class is created to be serialized into ZooKeeper.
  • Constructor Details

    • Persona

      public Persona(String name, long quotaNumber, Set<String> storesToEnforce, Set<String> owners)
    • Persona

      public Persona(Persona persona)
    • Persona

      public Persona()
  • Method Details

    • getName

      public String getName()
    • getQuotaNumber

      public long getQuotaNumber()
    • getStoresToEnforce

      public Set<String> getStoresToEnforce()
    • getOwners

      public Set<String> getOwners()
    • setName

      public void setName(String name)
    • setQuotaNumber

      public void setQuotaNumber(long quotaNumber)
    • setStoresToEnforce

      public void setStoresToEnforce(Set<String> storesToEnforce)
    • setOwners

      public void setOwners(Set<String> owners)
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object