com.baidu.driver4j.bns
类 Group

java.lang.Object
  继承者 com.baidu.driver4j.bns.Group

public class Group
extends Object

Service group

从以下版本开始:
1.0.0
作者:
xiemalin

构造方法摘要
Group()
           
 
方法摘要
 void addServiceName(String serviceName)
           
 boolean equals(Object obj)
           
 String getConf()
           
 String getName()
           
 String getNodePath()
           
 Set<String> getSerivceNames()
          get service names
 int getThreshold()
           
 int getThresholdPercent()
           
 int hashCode()
           
 boolean hasServiceName()
           
 void mergeServiceName()
           
 void setConf(String conf)
           
 void setConfIsJsonType(boolean confIsJsonType)
           
 void setConstrainGroup(boolean constrainGroup)
           
 void setName(String name)
           
 void setNodePath(String nodePath)
           
 void setThreshold(int threshold)
           
 void setThresholdPercent(int thresholdPercent)
           
 String toString()
           
 String toString(String joiner)
           
 
从类 java.lang.Object 继承的方法
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

构造方法详细信息

Group

public Group()
方法详细信息

addServiceName

public void addServiceName(String serviceName)

hasServiceName

public boolean hasServiceName()

mergeServiceName

public void mergeServiceName()

getSerivceNames

public Set<String> getSerivceNames()
get service names

返回:
the serivceNameList name list

toString

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

toString

public String toString(String joiner)

setName

public void setName(String name)

setConf

public void setConf(String conf)

setConfIsJsonType

public void setConfIsJsonType(boolean confIsJsonType)

setConstrainGroup

public void setConstrainGroup(boolean constrainGroup)

setNodePath

public void setNodePath(String nodePath)

setThreshold

public void setThreshold(int threshold)

setThresholdPercent

public void setThresholdPercent(int thresholdPercent)

getName

public String getName()

getConf

public String getConf()

getNodePath

public String getNodePath()

getThreshold

public int getThreshold()

getThresholdPercent

public int getThresholdPercent()

hashCode

public int hashCode()
覆盖:
类 Object 中的 hashCode

equals

public boolean equals(Object obj)
覆盖:
类 Object 中的 equals


Copyright © 2016. All rights reserved.