Package com.alipay.bluewhale.core.callback.impl

Examples of com.alipay.bluewhale.core.callback.impl.ReassignTransitionCallback


      String topologyid, StormStatus status) {

    rtn = new HashMap<StatusType, Map<StatusType, Callback>>();

    Map<StatusType, Callback> activeMap = new HashMap<StatusType, Callback>();
    activeMap.put(StatusType.monitor, new ReassignTransitionCallback(data,topologyid));
    activeMap.put(StatusType.inactive, new InactiveTransitionCallback());
    activeMap.put(StatusType.activate, null);
    activeMap.put(StatusType.rebalance, new RebalanceTransitionCallback(data,topologyid, status));
    activeMap.put(StatusType.kill, new KillTransitionCallback(data, topologyid,status));
    rtn.put(StatusType.active, activeMap);

    Map<StatusType, Callback> inactiveMap = new HashMap<StatusType, Callback>();
    inactiveMap.put(StatusType.monitor, new ReassignTransitionCallback(data,topologyid));
    inactiveMap.put(StatusType.activate, new ActiveTransitionCallback());
    inactiveMap.put(StatusType.inactivate, null);
    inactiveMap.put(StatusType.rebalance, new RebalanceTransitionCallback(data,topologyid, status));
    inactiveMap.put(StatusType.kill, new KillTransitionCallback(data, topologyid,status));
View Full Code Here

TOP

Related Classes of com.alipay.bluewhale.core.callback.impl.ReassignTransitionCallback

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.