Package backtype.storm.daemon

Examples of backtype.storm.daemon.Shutdownable


   

    // ִ�д�������˿ڶ���worker���շ��͹�����tuple,Ȼ�����task_id���ַ������ص����task(ͨ��zeromo�ı���ģʽ)
    WorkerVirtualPort virtual_port = new WorkerVirtualPort(conf,
        supervisorId, topologyId, port, mqContext, taskids);
    Shutdownable    virtual_port_shutdown = virtual_port.launch();

   
   

    TopologyContext systemTopology = systemContext.make(null);
View Full Code Here


  private IContext mqContext;
  private Set<Integer> taskIds;
  private String stormId;

  public Shutdownable launch() throws InterruptedException {
    Shutdownable sd = null;
    if (!WorkCommon.localModeZmq(conf)) {
      sd = new DefaultTransferShutdown();
    }
    String msg = "Launching virtual port for supervisor";
    LOG.info(msg + ":" + supervisorId + " stormid:" + stormId + " port:" + port);
View Full Code Here

TOP

Related Classes of backtype.storm.daemon.Shutdownable

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.