Package io.grpc

Class SynchronizationContext.ScheduledHandle

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void cancel()
      Cancel the task if it's still pending.
      boolean isPending()
      Returns true if the task will eventually run, meaning that it has neither started running nor been cancelled.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • cancel

        public void cancel()
        Cancel the task if it's still pending.
      • isPending

        public boolean isPending()
        Returns true if the task will eventually run, meaning that it has neither started running nor been cancelled.