/** */ void updateHeartbeat(long capacity, long dfsUsed, long remaining, long namespaceUsed, int xceiverCount) { this.capacity = capacity; this.dfsUsed = dfsUsed; this.remaining = remaining; this.namespaceUsed = namespaceUsed; this.lastUpdate = System.currentTimeMillis(); this.xceiverCount = xceiverCount; rollBlocksScheduled(lastUpdate); }
/** */ void updateHeartbeat(long capacity, long dfsUsed, long remaining, int xceiverCount) { this.capacity = capacity; this.dfsUsed = dfsUsed; this.remaining = remaining; this.lastUpdate = System.currentTimeMillis(); this.xceiverCount = xceiverCount; rollBlocksScheduled(lastUpdate); }