Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface BookmarkStore

Hierarchy

  • BookmarkStore

Implemented by

Index

Methods

discard

  • discard(message: Message): void
  • discard(subId: string, bookmark: string): void
  • Parameters

    Returns void

  • Parameters

    • subId: string
    • bookmark: string

    Returns void

isDiscarded

  • isDiscarded(message: Message): boolean
  • Parameters

    Returns boolean

    true if the bookmark is in the log and marked as discarded and should therefore not be reprocessed. Otherwise, returns false.

log

  • log(message: Message): BigInteger
  • Parameters

    Returns BigInteger

    The corresponding bookmark sequence number for this bookmark.

mostRecent

  • mostRecent(subId: string): string
  • Parameters

    • subId: string

    Returns string

    The most recent bookmark.

oldestBookmarkSeq

  • oldestBookmarkSeq(subId: string): BigInteger
  • Parameters

    • subId: string

    Returns BigInteger

    The sequence nubmer of the oldest bookmark in the store.

persisted

  • persisted(subId: string, bookmark: string): void
  • Parameters

    • subId: string
    • bookmark: string

    Returns void

purge

  • purge(subId: string): void
  • Parameters

    • subId: string

    Returns void