Class PromiseExecutor

  • All Implemented Interfaces:
    java.util.concurrent.Executor

    public class PromiseExecutor
    extends java.lang.Object
    implements java.util.concurrent.Executor
    • Constructor Summary

      Constructors 
      Constructor Description
      PromiseExecutor​(java.util.concurrent.Executor executor)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void execute​(java.lang.Runnable runnable)  
      <V> org.osgi.util.promise.Promise<V> submit​(java.util.concurrent.Callable<? extends V> task)  
      • Methods inherited from class java.lang.Object

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

      • PromiseExecutor

        public PromiseExecutor​(java.util.concurrent.Executor executor)
    • Method Detail

      • submit

        public <V> org.osgi.util.promise.Promise<V> submit​(java.util.concurrent.Callable<? extends V> task)
      • execute

        public void execute​(java.lang.Runnable runnable)
        Specified by:
        execute in interface java.util.concurrent.Executor