com.nhncorp.neptune.changelog
Class ServerLocationManager
java.lang.Object
com.nhncorp.neptune.changelog.ServerLocationManager
public class ServerLocationManager
- extends java.lang.Object
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
instance
public static ServerLocationManager instance()
throws java.io.IOException
- Throws:
java.io.IOException
getAllAddresses
public java.net.InetSocketAddress[] getAllAddresses()
getReplicaAddresses
public java.net.InetSocketAddress[] getReplicaAddresses(java.lang.String tabletName)
throws java.io.IOException
- Throws:
java.io.IOException
removeReplica
public void removeReplica(java.lang.String tabletName)
throws java.io.IOException
- Throws:
java.io.IOException