Esempio n. 1
0
        private void btnConnect_Click(object sender, EventArgs e)
        {
            this.DoThisCatchExceptions(() =>
            {
                string hostName = this.txtMasterHostName.Text;
                int port        = int.Parse(this.txtMasterPort.Text);
                //this.Cache = new Cache(hostName, port);
                this.CacheAdmin = new CacheAdmin(hostName, port);

                this.UpdateRingStatus();
                this.SetControls();
            });
        }
 public CacheAdminCmdExecutor(string namenode, CacheAdmin admin)
 {
     this.namenode = namenode;
     this.admin    = admin;
 }