Package com.alibaba.jstorm.callback

Examples of com.alibaba.jstorm.callback.Callback


        throw new RuntimeException(msg);
      }
      return;
    }

    Callback callback = changingCallbacks.get(changeStatus);

    Object obj = callback.execute(args);
    if (obj != null && obj instanceof StormStatus) {
      StormStatus newStatus = (StormStatus) obj;
      // update status to ZK
      data.getStormClusterState().update_storm(topologyid, newStatus);
      LOG.info("Successfully updated " + topologyid + " as status "
View Full Code Here

TOP

Related Classes of com.alibaba.jstorm.callback.Callback

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.