Class SegmentPublisherWrapper<Type>
java.lang.Object
org.infinispan.persistence.support.SegmentPublisherWrapper<Type>
- All Implemented Interfaces:
NonBlockingStore.SegmentedPublisher<Type>,org.reactivestreams.Publisher<Type>
public class SegmentPublisherWrapper<Type>
extends Object
implements NonBlockingStore.SegmentedPublisher<Type>
-
Method Summary
Modifier and TypeMethodDescriptionintReturns the segment for all keys in the publisher.voidstatic <Type> SegmentPublisherWrapper<Type>
-
Method Details
-
wrap
public static <Type> SegmentPublisherWrapper<Type> wrap(io.reactivex.rxjava3.flowables.GroupedFlowable<Integer, ? extends Type> groupedFlowable) -
getSegment
public int getSegment()Description copied from interface:NonBlockingStore.SegmentedPublisherReturns the segment for all keys in the publisher.- Specified by:
getSegmentin interfaceNonBlockingStore.SegmentedPublisher<Type>- Returns:
- segment the data the publisher provides maps to.
-
subscribe
- Specified by:
subscribein interfaceorg.reactivestreams.Publisher<Type>
-