Class BambooFutures

java.lang.Object
com.atlassian.bamboo.utils.BambooFutures

public final class BambooFutures extends Object
  • Method Details

    • addLightweightCallback

      public static <V> void addLightweightCallback(com.google.common.util.concurrent.ListenableFuture<V> future, com.google.common.util.concurrent.FutureCallback<? super V> callback)
      The submitted callback has to be lightweight. If it is not, consider using Futures.addCallback(ListenableFuture, FutureCallback, Executor) instead
      See Also:
      • Futures.addCallback(ListenableFuture, FutureCallback, Executor)