Uses of Class
io.grpc.SynchronizationContext.ScheduledHandle
-
-
Uses of SynchronizationContext.ScheduledHandle in io.grpc
Methods in io.grpc that return SynchronizationContext.ScheduledHandle Modifier and Type Method Description SynchronizationContext.ScheduledHandle
SynchronizationContext. schedule(java.lang.Runnable task, long delay, java.util.concurrent.TimeUnit unit, java.util.concurrent.ScheduledExecutorService timerService)
Schedules a task to be added and run viaSynchronizationContext.execute(java.lang.Runnable)
after a delay.SynchronizationContext.ScheduledHandle
SynchronizationContext. scheduleWithFixedDelay(java.lang.Runnable task, long initialDelay, long delay, java.util.concurrent.TimeUnit unit, java.util.concurrent.ScheduledExecutorService timerService)
Schedules a task to be added and run viaSynchronizationContext.execute(java.lang.Runnable)
after an inital delay and then repeated after the delay until cancelled.
-