public ProviderZookeeperRegistry(ServerCacheContainer cacheContainer)
        {
            _cacheContainer = cacheContainer;

            _zookeeperInvoker = new ZookeeperInvoker();

            _zooKeeper = _zookeeperInvoker.Create(_cacheContainer.Application.RegisterAddress, Constant.ZK_SESSION_TIMEOUT, null);
        }
        public ConsumerZookeeperRegistry(string registerAddress)
        {
            _zookeeperInvoker = new ZookeeperInvoker();

            _zookeeper = _zookeeperInvoker.Create(registerAddress, Constant.ZK_SESSION_TIMEOUT, null);
        }