Class SynchronizationContext.ScheduledHandle

java.lang.Object
io.grpc.SynchronizationContext.ScheduledHandle
Enclosing class:
SynchronizationContext

public static final class SynchronizationContext.ScheduledHandle extends Object
Allows the user to check the status and/or cancel a task scheduled by SynchronizationContext.schedule(Runnable, long, TimeUnit, ScheduledExecutorService).

This class is NOT thread-safe. All methods must be run from the same SynchronizationContext as which the task was scheduled in.

Since:
1.17.0