Package com.trendmicro.codi

Examples of com.trendmicro.codi.DataObserver


        this.mqHome = mqHome;
        this.mqVar = mqVar;
        this.mqLib = mqLib;
        this.config = config;
        tmeRoot = config.getProperty("com.trendmicro.tme.broker.zookeeper.tmeroot");
        obs = new DataObserver(tmeRoot + "/broker/" + host, this, false, 0);
    }
View Full Code Here


            commandNode.create(false, "".getBytes());
        }
        catch(CODIException e) {
            logger.error("cannot create command node!");
        }
        obs = new DataObserver(NODE_PATH, this, true, 1000);
        obs.start();
        new Thread(this).start();
    }
View Full Code Here

            }
        }
    }

    private ExchangeFarm() {
        fixedObs = new DataObserver(FIXED_NODE, this, true, 0);

        fixedObs.start();
        new Thread(this).start();
    }
View Full Code Here

    public void reset() {
        fixedExchanges.clear();
        allExchangeRefs.clear();
        exchangeEventQueue.clear();

        fixedObs = new DataObserver(FIXED_NODE, this, true, 0);

        fixedObs.start();
    }
View Full Code Here

    /**
     * The constructor, which starts the data observer on the graph root node
     */
    private RouteFarm() {
        obs = new DataObserver(graphRoot + "/route", this, true, 0);
        obs.start();
    }
View Full Code Here

        return m_theSingleton;
    }

    public void reset() {
        routeTable.clear();
        obs = new DataObserver(graphRoot + "/route" , this, true, 0);
        obs.start();
    }
View Full Code Here

    private HashMap<String, ZooKeeperInfo.Loading> allBrokerLoadings = new HashMap<String, ZooKeeperInfo.Loading>();
    private DataObserver obs = null;
    private long lastUpdateTs = 0;
   
    public BrokerFarm() {
        obs = new DataObserver("/broker", this, true, 0);
        obs.start();
    }
View Full Code Here

TOP

Related Classes of com.trendmicro.codi.DataObserver

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.