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