Class FutureStream<T extends Resource>
java.lang.Object
org.jdrupes.builder.core.FutureStream<T>
- Type Parameters:
T- the provided resource type
Evaluate the stream from a provider asynchronously.
-
Constructor Summary
ConstructorsConstructorDescriptionFutureStream(DefaultBuildContext context, ScopedValue<DefaultBuildContext> scopedBuildContext, ScopedValue<AtomicBoolean> providerInvocationAllowed, ResourceProvider provider, ResourceRequest<T> request) Instantiates a new future resources. -
Method Summary
-
Constructor Details
-
FutureStream
public FutureStream(DefaultBuildContext context, ScopedValue<DefaultBuildContext> scopedBuildContext, ScopedValue<AtomicBoolean> providerInvocationAllowed, ResourceProvider provider, ResourceRequest<T> request) Instantiates a new future resources.- Parameters:
context- the contextscopedBuildContext- the scoped build context for re-bindingproviderInvocationAllowed- scoped provider invocation allowed for re-bindingprovider- the providerrequest- the requested
-
-
Method Details
-
stream
-
toString
-