T - the type of the data that the stream created using the StreamCreator will havepublic class ImmutableIdentifiedStreamCreator<T> extends java.lang.Object implements IdentifiedStreamCreator<T>
IdentifiedStreamCreator.| Modifier | Constructor and Description |
|---|---|
protected |
ImmutableIdentifiedStreamCreator(StreamId<T> id,
StreamCreator<T> creator) |
| Modifier and Type | Method and Description |
|---|---|
StreamCreator<T> |
getCreator() |
StreamId<T> |
getId() |
static <T> IdentifiedStreamCreator<T> |
of(StreamId<T> id,
StreamCreator<T> creator) |
protected ImmutableIdentifiedStreamCreator(StreamId<T> id, StreamCreator<T> creator)
public static <T> IdentifiedStreamCreator<T> of(StreamId<T> id, StreamCreator<T> creator)
public StreamId<T> getId()
getId in interface IdentifiedStreamCreator<T>public StreamCreator<T> getCreator()
getCreator in interface IdentifiedStreamCreator<T>