Package io.datareplication.producer.feed
Interface FeedPageProvider
-
public interface FeedPageProvider
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
FeedPageProvider.Builder
static class
FeedPageProvider.HeaderAndContentType
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static @NonNull FeedPageProvider.Builder
builder(@NonNull FeedEntityRepository feedEntityRepository, @NonNull FeedPageMetadataRepository feedPageMetadataRepository, @NonNull FeedPageUrlBuilder feedPageUrlBuilder)
@NonNull java.util.concurrent.CompletionStage<@NonNull java.util.Optional<@NonNull PageId>>
latestPageId()
@NonNull java.util.concurrent.CompletionStage<@NonNull java.util.Optional<@NonNull Page<@NonNull FeedPageHeader,@NonNull FeedEntityHeader>>>
page(@NonNull PageId id)
@NonNull java.util.concurrent.CompletionStage<@NonNull java.util.Optional<@NonNull FeedPageProvider.HeaderAndContentType>>
pageHeader(@NonNull PageId id)
-
-
-
Method Detail
-
latestPageId
@NonNull @NonNull java.util.concurrent.CompletionStage<@NonNull java.util.Optional<@NonNull PageId>> latestPageId()
-
pageHeader
@NonNull @NonNull java.util.concurrent.CompletionStage<@NonNull java.util.Optional<@NonNull FeedPageProvider.HeaderAndContentType>> pageHeader(@NonNull @NonNull PageId id)
-
page
@NonNull @NonNull java.util.concurrent.CompletionStage<@NonNull java.util.Optional<@NonNull Page<@NonNull FeedPageHeader,@NonNull FeedEntityHeader>>> page(@NonNull @NonNull PageId id)
-
builder
@NonNull static @NonNull FeedPageProvider.Builder builder(@NonNull @NonNull FeedEntityRepository feedEntityRepository, @NonNull @NonNull FeedPageMetadataRepository feedPageMetadataRepository, @NonNull @NonNull FeedPageUrlBuilder feedPageUrlBuilder)
-
-