public class SingleSegmentPublisher<E> extends Object implements NonBlockingStore.SegmentedPublisher<E>
| Modifier and Type | Method and Description |
|---|---|
int |
getSegment()
Returns the segment for all keys in the publisher.
|
static <E> NonBlockingStore.SegmentedPublisher<E> |
singleSegment(int segment,
org.reactivestreams.Publisher<? extends E> publisher) |
static <E> NonBlockingStore.SegmentedPublisher<E> |
singleSegment(org.reactivestreams.Publisher<? extends E> publisher) |
void |
subscribe(org.reactivestreams.Subscriber<? super E> s) |
public static <E> NonBlockingStore.SegmentedPublisher<E> singleSegment(int segment, org.reactivestreams.Publisher<? extends E> publisher)
public static <E> NonBlockingStore.SegmentedPublisher<E> singleSegment(org.reactivestreams.Publisher<? extends E> publisher)
public int getSegment()
NonBlockingStore.SegmentedPublishergetSegment in interface NonBlockingStore.SegmentedPublisher<E>Copyright © 2022 JBoss by Red Hat. All rights reserved.