Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for scheduleAndDecide (0.23 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.
       *
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 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)
        }
      }
    
      /**
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 9.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
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Mar 21 11:22:00 GMT 2022
    - 127.9K bytes
    - Viewed (0)
Back to top