// ˢ������
RefreshConnections refreshConn = makeRefreshConnections(taskids);
refreshConn.run();
// ˢ��zk�е�active״̬
RefreshActive refreshZkActive = new RefreshActive(active, conf,
zkCluster, topologyId, zkActive);
refreshZkActive.run();
// ���������߳�
RunnableCallback heartbeat_fn = new WorkerHeartbeatRunable(conf,
workerId, port, topologyId, new CopyOnWriteArraySet<Integer>(taskids),
active);