Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for activeTasks (0.2 sec)

  1. cmd/metrics-v3-ilm.go

    	if globalExpiryState != nil {
    		m.Set(expiryPendingTasks, float64(globalExpiryState.PendingTasks()))
    	}
    	if globalTransitionState != nil {
    		m.Set(transitionActiveTasks, float64(globalTransitionState.ActiveTasks()))
    		m.Set(transitionPendingTasks, float64(globalTransitionState.PendingTasks()))
    		m.Set(transitionMissedImmediateTasks, float64(globalTransitionState.MissedImmediateTasks()))
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 06 09:36:25 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  2. cmd/bucket-lifecycle.go

    // goroutine.
    func (t *transitionState) PendingTasks() int {
    	return len(t.transitionCh)
    }
    
    // ActiveTasks returns the number of active (ongoing) ILM transition tasks.
    func (t *transitionState) ActiveTasks() int64 {
    	return t.activeTasks.Load()
    }
    
    // MissedImmediateTasks returns the number of tasks - deferred to scanner due
    // to tasks channel being backlogged.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 33.3K bytes
    - Viewed (0)
  3. src/internal/trace/reader.go

    		return &Reader{
    			r: br,
    			order: ordering{
    				mStates:     make(map[ThreadID]*mState),
    				pStates:     make(map[ProcID]*pState),
    				gStates:     make(map[GoID]*gState),
    				activeTasks: make(map[TaskID]taskState),
    			},
    			// Don't emit a sync event when we first go to emit events.
    			emittedSync: true,
    		}, nil
    	default:
    		return nil, fmt.Errorf("unknown or unsupported version go 1.%d", v)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  4. src/internal/trace/order.go

    	id := TaskID(ev.args[0])
    	if ts, ok := o.activeTasks[id]; ok {
    		// Smuggle the task info. This may happen in a different generation,
    		// which may not have the name in its string table. Add it to the extra
    		// strings table so we can look it up later.
    		ev.extra(version.Go122)[0] = uint64(ts.parentID)
    		ev.extra(version.Go122)[1] = uint64(evt.addExtraString(ts.name))
    		delete(o.activeTasks, id)
    	} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 03 14:56:25 UTC 2024
    - 52.4K bytes
    - Viewed (0)
  5. cmd/metrics-v2.go

    		}
    		if globalTransitionState != nil {
    			trPendingTasks.Value = float64(globalTransitionState.PendingTasks())
    			trActiveTasks.Value = float64(globalTransitionState.ActiveTasks())
    			trMissedTasks.Value = float64(globalTransitionState.MissedImmediateTasks())
    		}
    		return []MetricV2{
    			expPendingTasks,
    			expMissedTasks,
    			expMissedFreeVersions,
    			expMissedTierJournalTasks,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:54 UTC 2024
    - 131.9K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/concurrent/TaskQueue.kt

      internal var shutdown = false
    
      /** This queue's currently-executing task, or null if none is currently executing. */
      internal var activeTask: Task? = null
    
      /** Scheduled tasks ordered by [Task.nextExecuteNanoTime]. */
      internal val futureTasks = mutableListOf<Task>()
    
      /** True if the [activeTask] should be canceled when it completes. */
      internal var cancelActiveTask = false
    
      /**
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/concurrent/TaskRunner.kt

      private fun afterRun(
        task: Task,
        delayNanos: Long,
      ) {
        lock.assertHeld()
    
        val queue = task.queue!!
        check(queue.activeTask === task)
    
        val cancelActiveTask = queue.cancelActiveTask
        queue.cancelActiveTask = false
        queue.activeTask = null
        busyQueues.remove(queue)
    
        if (delayNanos != -1L && !cancelActiveTask && !queue.shutdown) {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Apr 29 00:33:04 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  8. src/internal/trace/traceviewer/static/trace_viewer_full.html

    FindController.prototype={__proto__:Object.prototype,get model(){return this.brushingStateController_.model;},get brushingStateController(){return this.brushingStateController_;},enqueueOperation_(operation){let task;if(operation instanceof tr.b.Task){task=operation;}else{task=new tr.b.Task(operation,this);}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 20:45:06 UTC 2023
    - 2.5M bytes
    - Viewed (0)
Back to top