Created
August 9, 2018 16:43
-
-
Save ArturSkowronski/39dd4f1c468f70ee02e551ca6e3bda64 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class PushLayersStep | |
implements AsyncStep<ImmutableList<AsyncStep<PushBlobStep>>>, | |
Callable<ImmutableList<AsyncStep<PushBlobStep>>> { | |
/*(...)*/ | |
private PushBlobStep makePushBlobStep(AsyncStep<? extends CachedLayer> cachedLayerStep) | |
throws ExecutionException { | |
CachedLayer cachedLayer = NonBlockingSteps.get(cachedLayerStep); | |
return new PushBlobStep( | |
listeningExecutorService, | |
buildConfiguration, | |
authenticatePushStep, | |
cachedLayer.getBlobDescriptor(), | |
cachedLayer.getBlob()); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment