Interface Registry


public interface Registry
Registry interface for implementing registering and un-registering to service locator.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    registerServer(LoadBalanceZookeeperConf configuration, int port, String connectString, String pqsHost)
    Registers the server with the service locator ( zookeeper).
    void
    Unreqister the server with zookeeper.
  • Method Details

    • unRegisterServer

      void unRegisterServer() throws Exception
      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 Configuration
      port - - port for PQS server
      connectString - - zookeeper connect string
      pqsHost - - host for PQS server.
      Throws:
      Exception