Can a tracker be used for a TIP?
557425
public boolean canTrackerBeUsed(
      String taskTracker, String trackerHost, TaskInProgress tip) {
    synchronized (lockObject) {
      return !tip.hasFailedOnMachine(trackerHost);
    }
  }
717688
def cmd_tracker_param(self, args):
        ''''''
        if not self.connection:
            print("tracker not connected")
            return
        self.pstate.handle_command(self.connection, self.mpstate, args)
656899
def _add_tip_during_transfer(self, tips, **kwargs):
        
        if self.has_tip_rack() and tips > 0 and not self.current_tip():
            self.pick_up_tip()
96816
def start_tracker(self, id_, **kwargs):
        
        data = None
        if kwargs:
            data = self._wrap_dict("tracker",
                self._wrap_dict("tracking_time_entry", kwargs))
        return self.patch("/tracker/{}.json".format(id_), data=data)
835065
TaskStatus getTaskStatus(TaskAttemptID taskid) {
    TaskInProgress tip = getTip(taskid.getTaskID());
    return (tip == null ? null
            : tip.getTaskStatus(taskid));
  }
702685
def track(self, tracking_number):
        ""
        resp = self.send_request(tracking_number)
        return self.parse_response(resp)
200193
function (cb) {
      var opts = _.extend({ tracker: self._tracker }, params.main.opts);

      return opts.tries === 1 ?
        self.trackAndRun(params.main.cmd, shOpts, opts, cb) :
        runner.retry(params.main.cmd, shOpts, opts, cb);
    }
1183455
Counters getTipCounters(TaskID tipid) {
    TaskInProgress tip = getTip(tipid);
    return (tip == null ? null : tip.getCounters());
  }
878839
static void writeTracker(JSONWriter writer, Tracker tracker)
			throws JSONException {
		writer.key("id");
		writer.value(tracker.getId());
		writer.key("name");
		writer.value(tracker.getName());
	}
738104
function DetectMouseUser(event) {
        if(isMouseUser) {
            // collection throttle interval.
            setInterval(function() {
                trackData = true;
            }, 50);
            return true;
        }
        let current = movement;
        if(x && y){
            movement = movement + Math.abs(x - event.pageX) + Math.abs(y - event.pageY);
        }
        x = event.pageX;
        y = event.pageY;
        if ((current + 10) > movement) {
            movementOkcount++;
        }
        if(movementOkcount > 5) {
            isMouseUser = true;
        }
        return false;
    }
471375
function track(event){
  try {
    // TODO look up for event.data.transformer before setting data
    tracker.set(event);
  } catch(e) {
    /** @cut */ basis.dev.error(namespace + '.track(): Error during tracking event processing', event, e);
  }
}
584263
function onPointerMoveCaptured( tracker, event ) {
        var pointsList = tracker.getActivePointersListByType( getPointerType( event ) );
        if ( pointsList.getById( event.pointerId ) ) {
            handlePointerMove( tracker, event );
        }
        $.stopEvent( event );
    }
1133392
function getTracker(value) {
            shared.utils.dassert(shared.utils.isObject(value._tracker));
            return value._tracker;
        }
1177646
def method_missing(m, *args, &block)  
        if @tracker_names.include? m
          @tracker_blocks[m] = block
        else
          super(name, *args, &block)
        end
      end
239668
synchronized public boolean isBlacklisted(String trackerID) {
    TaskTrackerStatus status = getTaskTrackerStatus(trackerID);
    if (status != null) {
      return faultyTrackers.isBlacklisted(status.getHost());
    }
    return false;
  }
1209758
public boolean track(TopologyAPI.StreamId stream, long ts) {
    Long currentVal = streamToTs.get(stream);
    if (currentVal == null || ts > currentVal) {
      streamToTs.put(stream, ts);
    }
    return ts >= lastWaterMarkTs;
  }
357222
def update_tool_tip(self, service_running: bool):
        """"""
        if service_running:
            self.setToolTip(TOOLTIP_RUNNING)
        else:
            self.setToolTip(TOOLTIP_PAUSED)