Package com.linkedin.helix.manager.zk.ZkCacheEventThread

Examples of com.linkedin.helix.manager.zk.ZkCacheEventThread.ZkCacheEvent


          {
            switch (type)
            {
            case NodeDataChanged:
              // listener.onDataChange(path);
              _eventThread.send(new ZkCacheEvent("dataChange on " + path + " send to "
                  + listener)
              {
                @Override
                public void run() throws Exception
                {
                  listener.onDataChange(clientPath);
                }
              });
              break;
            case NodeCreated:
              // listener.onDataCreate(path);
              _eventThread.send(new ZkCacheEvent("dataCreate on " + path + " send to "
                  + listener)
              {
                @Override
                public void run() throws Exception
                {
                  listener.onDataCreate(clientPath);
                }
              });
              break;
            case NodeDeleted:
              // listener.onDataDelete(path);
              _eventThread.send(new ZkCacheEvent("dataDelete on " + path + " send to "
                  + listener)
              {
                @Override
                public void run() throws Exception
                {
View Full Code Here

TOP

Related Classes of com.linkedin.helix.manager.zk.ZkCacheEventThread.ZkCacheEvent

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.