Class PoolContent
- java.lang.Object
-
- org.streamingpool.core.service.impl.PoolContent
-
public class PoolContent extends java.lang.ObjectEncapsulate the state of a streaming pool.
-
-
Constructor Summary
Constructors Constructor Description PoolContent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddDependency(StreamId<?> source, StreamId<?> parent)Add a dependency to the tree from source to parentStreamDependencyTreedependencyTree()<T> org.reactivestreams.Publisher<T>get(StreamId<T> id)<T> booleansynchronousPutIfAbsent(StreamId<T> id, java.util.function.Supplier<ErrorStreamPair<T>> supplier)
-
-
-
Method Detail
-
synchronousPutIfAbsent
public <T> boolean synchronousPutIfAbsent(StreamId<T> id, java.util.function.Supplier<ErrorStreamPair<T>> supplier)
-
get
public <T> org.reactivestreams.Publisher<T> get(StreamId<T> id)
-
addDependency
public void addDependency(StreamId<?> source, StreamId<?> parent)
Add a dependency to the tree from source to parent
-
dependencyTree
public StreamDependencyTree dependencyTree()
-
-