DurableStateStorePagedPersistenceIdsQuery

org.apache.pekko.persistence.query.javadsl.DurableStateStorePagedPersistenceIdsQuery

A DurableStateStore may optionally support this query by implementing this trait.

Attributes

Source
DurableStateStorePagedPersistenceIdsQuery.scala
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Abstract methods

def currentPersistenceIds(afterId: Optional[String], limit: Long): Source[String, NotUsed]

Get the current persistence ids.

Get the current persistence ids.

Not all plugins may support in database paging, and may simply use drop/take Pekko streams operators to manipulate the result set according to the paging parameters.

Value parameters

afterId

The ID to start returning results from, or empty to return all ids. This should be an id returned from a previous invocation of this command. Callers should not assume that ids are returned in sorted order.

limit

The maximum results to return. Use Long.MAX_VALUE to return all results. Must be greater than zero.

Attributes

Returns

A source containing all the persistence ids, limited as specified.

Source
DurableStateStorePagedPersistenceIdsQuery.scala

Inherited methods

def getObject(persistenceId: String): CompletionStage[GetObjectResult[A]]

Attributes

Inherited from:
DurableStateStore
Source
DurableStateStore.scala