class ACSReader extends NamedLogging
Streams ACS events (active contracts) in a two step process consisting of: 1) fetching event sequential ids of the active contracts based on the filtering constraints, 2) fetching the active contracts based on the fetched event sequential ids.
Details: An input filtering constraint (consisting of parties and template ids) is converted into decomposed filtering constraints (a constraint with exactly one party and at most one template id). For each decomposed filter, the matching event sequential ids are fetched in parallel and then merged into a strictly increasing sequence. The elements from this sequence are then batched and the batch ids serve as the input to the payload fetching step.
- Alphabetic
- By Inheritance
- ACSReader
- NamedLogging
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new ACSReader(config: ActiveContractsServiceStreamsConfig, globalIdQueriesLimiter: ConcurrencyLimiter, globalPayloadQueriesLimiter: ConcurrencyLimiter, dispatcher: DbDispatcher, queryNonPruned: QueryNonPruned, eventStorageBackend: EventStorageBackend, lfValueTranslation: LfValueTranslation, incompleteOffsets: (Offset, Set[daml.lf.data.Ref.Party], TraceContext) => Future[Vector[Offset]], metrics: Metrics, tracer: Tracer, loggerFactory: NamedLoggerFactory)(implicit executionContext: ExecutionContext)
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() @IntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- implicit def errorLoggingContext(implicit traceContext: TraceContext): ErrorLoggingContext
- Attributes
- protected
- Definition Classes
- NamedLogging
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def logger: TracedLogger
- Attributes
- protected
- Definition Classes
- NamedLogging
- val loggerFactory: NamedLoggerFactory
- Definition Classes
- ACSReader → NamedLogging
- implicit def namedLoggingContext(implicit traceContext: TraceContext): NamedLoggingContext
- 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() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- def streamActiveContracts(filteringConstraints: TemplatePartiesFilter, activeAt: (Offset, Long), eventProjectionProperties: EventProjectionProperties, multiDomainEnabled: Boolean)(implicit loggingContext: LoggingContextWithTrace): Source[GetActiveContractsResponse, NotUsed]
- 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])