Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for scheduleAndDecide (0.21 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/concurrent/TaskQueue.kt

              return
            }
            taskRunner.logger.taskLog(task, this) { "schedule failed (queue is shutdown)" }
            throw RejectedExecutionException()
          }
    
          if (scheduleAndDecide(task, delayNanos, recurrence = false)) {
            taskRunner.kickCoordinator(this)
          }
        }
      }
    
      /**
       * Overload of [schedule] that uses a lambda for a repeating task.
       *
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/concurrent/TaskRunner.kt

        queue.cancelActiveTask = false
        queue.activeTask = null
        busyQueues.remove(queue)
    
        if (delayNanos != -1L && !cancelActiveTask && !queue.shutdown) {
          queue.scheduleAndDecide(task, delayNanos, recurrence = true)
        }
    
        if (queue.futureTasks.isNotEmpty()) {
          readyQueues.add(queue)
        }
      }
    
      /**
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 29 00:33:04 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  3. okhttp-android/src/main/baseline-prof.txt

    HSPLokhttp3/internal/concurrent/TaskQueue;->schedule(Lokhttp3/internal/concurrent/Task;J)V
    HSPLokhttp3/internal/concurrent/TaskQueue;->scheduleAndDecide$okhttp(Lokhttp3/internal/concurrent/Task;JZ)Z
    HSPLokhttp3/internal/concurrent/TaskQueue;->shutdown()V
    HSPLokhttp3/internal/concurrent/TaskRunner$RealBackend;-><init>(Ljava/util/concurrent/ThreadFactory;)V
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Mar 21 11:22:00 UTC 2022
    - 127.9K bytes
    - Viewed (0)
Back to top