类 ServiceInstanceLackProblem

java.lang.Object
top.codef.pojos.servicemonitor.ServiceProblem
top.codef.pojos.servicemonitor.ServiceInstanceLackProblem
所有已实现的接口:
UniqueMessage

public class ServiceInstanceLackProblem extends ServiceProblem implements UniqueMessage
  • 构造器详细资料

    • ServiceInstanceLackProblem

      public ServiceInstanceLackProblem(String serviceName, Set<String> instanceIds, int lackCount)
      参数:
      instanceIds -
      lackCount -
    • ServiceInstanceLackProblem

      public ServiceInstanceLackProblem(ServiceDiscorveryInstance instance)
  • 方法详细资料

    • getUid

      public String getUid()
      从接口复制的说明: UniqueMessage
      表示该条数据的唯一id
      指定者:
      getUid 在接口中 UniqueMessage
      返回:
    • getInstanceIds

      public Collection<String> getInstanceIds()
    • setInstanceIds

      public void setInstanceIds(Collection<String> instanceIds)
    • getLackCount

      public int getLackCount()
    • setLackCount

      public void setLackCount(int lackCount)
    • hashCode

      public int hashCode()
      覆盖:
      hashCode 在类中 Object
    • equals

      public boolean equals(Object obj)
      覆盖:
      equals 在类中 Object
    • toString

      public String toString()
      覆盖:
      toString 在类中 Object