com.nhncorp.neptune.changelog
Class ServerLocationManager

java.lang.Object
  extended by com.nhncorp.neptune.changelog.ServerLocationManager

public class ServerLocationManager
extends java.lang.Object


Method Summary
 java.net.InetSocketAddress[] getAllAddresses()
           
 java.net.InetSocketAddress[] getReplicaAddresses(java.lang.String tabletName)
           
static ServerLocationManager instance()
           
 void removeReplica(java.lang.String tabletName)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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