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(Runnable task, long delay, TimeUnit unit, ScheduledExecutorService timerService)
Schedules a task to be added and run viaSynchronizationContext.execute(java.lang.Runnable)
after a delay.SynchronizationContext.ScheduledHandle
SynchronizationContext. scheduleWithFixedDelay(Runnable task, long initialDelay, long delay, TimeUnit unit, 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.
-