com.taobao.metamorphosis.server.utils
类 SlaveConfig

java.lang.Object
  继承者 com.taobao.metamorphosis.utils.Config
      继承者 com.taobao.metamorphosis.server.utils.SlaveConfig
所有已实现的接口:
Serializable

public class SlaveConfig
extends Config
implements Serializable

Async slave config

作者:
apple
另请参见:
序列化表格

构造方法摘要
SlaveConfig()
           
SlaveConfig(int slaveId)
           
SlaveConfig(int slaveId, String slaveGroup, long slaveMaxDelayInMills, boolean syncMasterConfig)
           
 
方法摘要
 boolean equals(Object obj)
           
 String getSlaveGroup()
           
 int getSlaveId()
           
 long getSlaveMaxDelayInMills()
           
 int hashCode()
           
 boolean isAutoSyncMasterConfig()
           
 void setAutoSyncMasterConfig(boolean syncMasterConfig)
           
 void setSlaveGroup(String slaveGroup)
           
 void setSlaveId(int slaveId)
           
 void setSlaveMaxDelayInMills(long slaveMaxDelayInMills)
           
 
从类 com.taobao.metamorphosis.utils.Config 继承的方法
checkConfigKeys, findBestMatchField, getFieldSet
 
从类 java.lang.Object 继承的方法
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

SlaveConfig

public SlaveConfig(int slaveId)

SlaveConfig

public SlaveConfig(int slaveId,
                   String slaveGroup,
                   long slaveMaxDelayInMills,
                   boolean syncMasterConfig)

SlaveConfig

public SlaveConfig()
方法详细信息

getSlaveId

public int getSlaveId()

setSlaveId

public void setSlaveId(int slaveId)

getSlaveGroup

public String getSlaveGroup()

setSlaveGroup

public void setSlaveGroup(String slaveGroup)

getSlaveMaxDelayInMills

public long getSlaveMaxDelayInMills()

setSlaveMaxDelayInMills

public void setSlaveMaxDelayInMills(long slaveMaxDelayInMills)

isAutoSyncMasterConfig

public boolean isAutoSyncMasterConfig()

setAutoSyncMasterConfig

public void setAutoSyncMasterConfig(boolean syncMasterConfig)

hashCode

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

equals

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


Copyright © 2010–2013. All rights reserved.