Interface PinnedMessagePaginationAction
- All Superinterfaces:
Iterable<PinnedMessagePaginationAction.PinnedMessage>, PaginationAction<PinnedMessagePaginationAction.PinnedMessage, PinnedMessagePaginationAction>, RestAction<List<PinnedMessagePaginationAction.PinnedMessage>>
public interface PinnedMessagePaginationAction
extends PaginationAction<PinnedMessagePaginationAction.PinnedMessage, PinnedMessagePaginationAction>
PaginationAction that paginates the pinned messages in a MessageChannel.
Note that this implementation is not considered thread-safe as modifications to the cache are not done with a lock. Calling methods on this class from multiple threads is not recommended.
Limits:
Minimum - 1
Maximum - 50
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classA pinned message instance.Nested classes/interfaces inherited from interface PaginationAction
PaginationAction.PaginationIterator<E>, PaginationAction.PaginationOrder -
Method Summary
Methods inherited from interface PaginationAction
cache, cacheSize, deadline, forEachAsync, forEachAsync, forEachRemaining, forEachRemainingAsync, forEachRemainingAsync, getCached, getFirst, getLast, getLastKey, getLimit, getMaxLimit, getMinLimit, getOrder, getSupportedOrders, isCacheEnabled, isEmpty, iterator, limit, order, parallelStream, reverse, setCheck, skipTo, spliterator, stream, takeAsync, takeRemainingAsync, takeUntilAsync, takeUntilAsync, takeWhileAsync, takeWhileAsync, timeoutMethods inherited from interface RestAction
addCheck, and, and, complete, complete, completeAfter, delay, delay, delay, delay, flatMap, flatMap, getCheck, getJDA, map, mapToResult, onErrorFlatMap, onErrorFlatMap, onErrorMap, onErrorMap, onSuccess, queue, queue, queue, queueAfter, queueAfter, queueAfter, queueAfter, queueAfter, queueAfter, submit, submit, submitAfter, submitAfter, zip