object SequencedEventStore
- Alphabetic
- By Inheritance
- SequencedEventStore
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- final case class ByTimestamp(timestamp: CantonTimestamp) extends SearchCriterion with Product with Serializable
Find the event with the given timestamp
- final case class ByTimestampRange(lowerInclusive: CantonTimestamp, upperInclusive: CantonTimestamp) extends RangeCriterion with Product with Serializable
Finds all events with timestamps within the given range.
Finds all events with timestamps within the given range.
- lowerInclusive
The lower bound, inclusive. Must not be after
upperInclusive
- upperInclusive
The upper bound, inclusive. Must not be before
lowerInclusive
- Exceptions thrown
java.lang.IllegalArgumentException
iflowerInclusive
is afterupperInclusive
- final case class CounterAndTimestamp(lastCounter: SequencerCounter, lastTimestamp: CantonTimestamp) extends Product with Serializable
- final case class IgnoredSequencedEvent[+Env <: Envelope[_]](timestamp: CantonTimestamp, counter: SequencerCounter, underlying: Option[SignedContent[SequencedEvent[Env]]], previousTimestamp: Option[CantonTimestamp] = None)(traceContext: TraceContext) extends PossiblyIgnoredSequencedEvent[Env] with Product with Serializable
Encapsulates an ignored event, i.e., an event that should not be processed.
Encapsulates an ignored event, i.e., an event that should not be processed. Holds a counter and timestamp in the event stream, to be used for repairs of event history.
If an ordinary sequenced event
oe
is later converted to an ignored eventie
, the actual eventoe.signedEvent
is retained asie.underlying
so that no information gets discarded by ignoring events.TODO(#25162): Consider returning the support for "future" ignored events: an ignored event
ie
is inserted as a placeholder for an event that has not been received, the underlying eventie.underlying
is left empty. - final case class LatestUpto(inclusive: CantonTimestamp) extends SearchCriterion with Product with Serializable
Finds the event with the highest timestamp before or at
inclusive
- final case class OrdinarySequencedEvent[+Env <: Envelope[_]](counter: SequencerCounter, signedEvent: SignedContent[SequencedEvent[Env]])(traceContext: TraceContext) extends PossiblyIgnoredSequencedEvent[Env] with Product with Serializable
Encapsulates an event received by the sequencer client that has been validated and stored.
Encapsulates an event received by the sequencer client that has been validated and stored. Has a counter assigned by this store and contains a trace context.
- sealed trait PossiblyIgnoredSequencedEvent[+Env <: Envelope[_]] extends ProcessingSequencedEvent[Env]
Encapsulates an event stored in the SequencedEventStore (has a counter assigned), and the event could have been marked as "ignored".
- sealed trait ProcessingSequencedEvent[+Env <: Envelope[_]] extends HasTraceContext with PrettyPrinting with Product with Serializable
Base type for wrapping all not yet stored (no counter) and stored events (have counter)
- sealed trait RangeCriterion extends Product with Serializable with PrettyPrinting
Finds a sequence of events within a range
- sealed trait SearchCriterion extends Product with Serializable
- final case class SequencedEventWithTraceContext[+Env <: Envelope[_]](signedEvent: SignedContent[SequencedEvent[Env]])(traceContext: TraceContext) extends ProcessingSequencedEvent[Env] with Product with Serializable
A wrapper for not yet stored events (no counter) with an additional trace context.
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def apply[Env <: Envelope[_]](storage: Storage, indexedSynchronizer: IndexedSynchronizer, protocolVersion: ProtocolVersion, timeouts: ProcessingTimeout, loggerFactory: NamedLoggerFactory)(implicit executionContext: ExecutionContext): SequencedEventStore
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- object CounterAndTimestamp extends Serializable
- object IgnoredSequencedEvent extends Serializable
- object OrdinarySequencedEvent extends Serializable
- object PossiblyIgnoredSequencedEvent extends Serializable
- object SearchCriterion extends Serializable