Skip to content

Commit

Permalink
java Long
Browse files Browse the repository at this point in the history
  • Loading branch information
pjfanning committed Feb 16, 2025
1 parent 636a803 commit d19d5e2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@ import java.util.concurrent.CompletionStage
*/
trait CurrentLastKnownSequenceNumberByPersistenceIdQuery extends ReadJournal {

/**
/**
* Returns the last known sequence number for the given `persistenceId`. Empty if the `persistenceId` is unknown.
*
* @param persistenceId The `persistenceId` for which the last known sequence number should be returned.
* @return Some sequence number or None if the `persistenceId` is unknown.
*/
def currentLastKnownSequenceNumberByPersistenceId(persistenceId: String): CompletionStage[Optional[Long]]
def currentLastKnownSequenceNumberByPersistenceId(persistenceId: String): CompletionStage[Optional[java.lang.Long]]
}
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ package org.apache.pekko.persistence.query.scaladsl
*/
trait CurrentLastKnownSequenceNumberByPersistenceIdQuery extends ReadJournal {

/**
/**
* Returns the last known sequence number for the given `persistenceId`. Empty if the `persistenceId` is unknown.
*
* @param persistenceId The `persistenceId` for which the last known sequence number should be returned.
Expand Down

0 comments on commit d19d5e2

Please sign in to comment.