Class Functions.FutureAction

  • All Implemented Interfaces:
    Action
    Enclosing class:
    Functions

    static final class Functions.FutureAction
    extends java.lang.Object
    implements Action
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) java.util.concurrent.Future<?> future  
    • Constructor Summary

      Constructors 
      Constructor Description
      FutureAction​(java.util.concurrent.Future<?> future)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void run()
      Runs the action and optionally throws a checked exception.
      • Methods inherited from class java.lang.Object

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

      • future

        final java.util.concurrent.Future<?> future
    • Constructor Detail

      • FutureAction

        FutureAction​(java.util.concurrent.Future<?> future)
    • Method Detail

      • run

        public void run()
                 throws java.lang.Exception
        Description copied from interface: Action
        Runs the action and optionally throws a checked exception.
        Specified by:
        run in interface Action
        Throws:
        java.lang.Exception