Interface NonBlockingStore.SegmentedPublisher<Type>

  • Type Parameters:
    Type - type of values in this Publisher
    All Superinterfaces:
    org.reactivestreams.Publisher<Type>
    Enclosing interface:
    NonBlockingStore<K,​V>

    public static interface NonBlockingStore.SegmentedPublisher<Type>
    extends org.reactivestreams.Publisher<Type>
    A Publisher that in addition a stream of values also provides the segment that all of those values map to.
    • Method Detail

      • getSegment

        int getSegment()
        Returns the segment for all keys in the publisher.
        Returns:
        segment the data the publisher provides maps to