Page

public interface Page<M extends ShardedRecord>

A page of messages obtained from a sharded storage in a read operation.

Parameters

<M>

the type of the messages stored

Functions

Link copied to clipboard
public abstract ImmutableList<M> contents()
Obtains the messages of this page.
Link copied to clipboard
public abstract Optional<Page<M>> next()
Obtains the next page.
Link copied to clipboard
public abstract int size()
Obtains the size of this page.