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
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.