Examples of WrappedFuture


Examples of org.apache.aries.blueprint.utils.threading.impl.WrappedFuture

        public Future<?> call()
        {
          DiscardableRunnable t = new DiscardableRunnable(task, _unprocessedWork);
          try {
            return new WrappedFuture(_current.get().submit(t), t);
          } catch (RuntimeException e) {
            t.discard();
            throw e;
          }
        }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.