Package io.grpc

Class SynchronizationContext.ManagedRunnable

  • All Implemented Interfaces:
    java.lang.Runnable
    Enclosing class:
    SynchronizationContext

    private static class SynchronizationContext.ManagedRunnable
    extends java.lang.Object
    implements java.lang.Runnable
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) boolean hasStarted  
      (package private) boolean isCancelled  
      (package private) java.lang.Runnable task  
    • Constructor Summary

      Constructors 
      Constructor Description
      ManagedRunnable​(java.lang.Runnable task)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void run()  
      • Methods inherited from class java.lang.Object

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

      • task

        final java.lang.Runnable task
      • isCancelled

        boolean isCancelled
      • hasStarted

        boolean hasStarted
    • Constructor Detail

      • ManagedRunnable

        ManagedRunnable​(java.lang.Runnable task)
    • Method Detail

      • run

        public void run()
        Specified by:
        run in interface java.lang.Runnable