public class ClusterPartition extends Object
Constructor and Description |
---|
ClusterPartition() |
Modifier and Type | Method and Description |
---|---|
void |
addSlaveAddress(String address) |
int |
getEndSlot() |
String |
getMasterAddress() |
List<String> |
getSlaveAddresses() |
boolean |
isMasterFail() |
void |
setEndSlot(int endSlot) |
void |
setMasterAddress(String masterAddress) |
void |
setMasterFail(boolean masterFail) |
public void setMasterFail(boolean masterFail)
public boolean isMasterFail()
public int getEndSlot()
public void setEndSlot(int endSlot)
public String getMasterAddress()
public void setMasterAddress(String masterAddress)
public void addSlaveAddress(String address)
Copyright © 2014. All rights reserved.