Interface Registry
public interface Registry
Registry interface for implementing registering
and un-registering to service locator.
-
Method Summary
Modifier and TypeMethodDescriptionvoidregisterServer(LoadBalanceZookeeperConf configuration, int port, String connectString, String pqsHost) Registers the server with the service locator ( zookeeper).voidUnreqister the server with zookeeper.
-
Method Details
-
unRegisterServer
Unreqister the server with zookeeper. All Cleanup is done in this method.- Throws:
Exception
-
registerServer
void registerServer(LoadBalanceZookeeperConf configuration, int port, String connectString, String pqsHost) throws Exception Registers the server with the service locator ( zookeeper).- Parameters:
configuration- - Hbase Configurationport- - port for PQS serverconnectString- - zookeeper connect stringpqsHost- - host for PQS server.- Throws:
Exception
-