class InMemoryFinalizedResponseStore extends FinalizedResponseStore with NamedLogging
- Alphabetic
- By Inheritance
- InMemoryFinalizedResponseStore
- NamedLogging
- FinalizedResponseStore
- AutoCloseable
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new InMemoryFinalizedResponseStore(loggerFactory: NamedLoggerFactory)
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
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- def close(): Unit
- Definition Classes
- InMemoryFinalizedResponseStore → AutoCloseable
- def count()(implicit traceContext: TraceContext): Future[Long]
Count how many finalized responses we have stored.
Count how many finalized responses we have stored. Primarily used for testing mediator pruning.
- Definition Classes
- InMemoryFinalizedResponseStore → FinalizedResponseStore
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def fetch(requestId: RequestId)(implicit traceContext: TraceContext): EitherT[Future, MediatorRequestNotFound, ResponseAggregation]
Fetch previously stored finalized mediator response aggregation by requestId.
Fetch previously stored finalized mediator response aggregation by requestId.
- Definition Classes
- InMemoryFinalizedResponseStore → FinalizedResponseStore
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def logger: TracedLogger
- Attributes
- protected
- Definition Classes
- NamedLogging
- val loggerFactory: NamedLoggerFactory
- Attributes
- protected
- Definition Classes
- InMemoryFinalizedResponseStore → NamedLogging
- implicit def loggingContext(implicit traceContext: TraceContext): ErrorLoggingContext
- Attributes
- protected
- Definition Classes
- NamedLogging
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def noTracingLogger: Logger
- Attributes
- protected
- Definition Classes
- NamedLogging
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def prune(timestamp: CantonTimestamp)(implicit traceContext: TraceContext): Future[Unit]
Remove all responses up to and including the provided timestamp.
Remove all responses up to and including the provided timestamp.
- Definition Classes
- InMemoryFinalizedResponseStore → FinalizedResponseStore
- def store(request: ResponseAggregation)(implicit traceContext: TraceContext): Future[Unit]
Stores finalized mediator response aggregations (whose state is a Left(verdict)).
Stores finalized mediator response aggregations (whose state is a Left(verdict)). In the event of a crash we may attempt to store an existing finalized request so the store should behave in an idempotent manner. TODO(#4335): If there is an existing value ensure that it matches the value we want to insert
- Definition Classes
- InMemoryFinalizedResponseStore → FinalizedResponseStore
- 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])