Packages

class RegisterProcessor extends DbBulkUpdateProcessor[InFlightSubmission[UnsequencedSubmission], Result]

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RegisterProcessor
  2. DbBulkUpdateProcessor
  3. Processor
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new RegisterProcessor(storage: DbStorage, maxItemsInSqlInClause: PositiveNumeric[Int], releaseProtocolVersion: ReleaseProtocolVersion, logger: TracedLogger)(implicit executionContext: ExecutionContext, closeContext: CloseContext)

Type Members

  1. type CheckData = InFlightSubmission[SubmissionSequencingInfo]

    Type of data returned when checking what information the store contains for a given item.

    Type of data returned when checking what information the store contains for a given item.

    Attributes
    protected
    Definition Classes
    RegisterProcessorDbBulkUpdateProcessor
  2. type ItemIdentifier = ChangeIdHash

    The type of identifier that is used to correlate items and the information retrieved from the store when checking.

    The type of identifier that is used to correlate items and the information retrieved from the store when checking.

    Attributes
    protected
    Definition Classes
    RegisterProcessorDbBulkUpdateProcessor
  3. case class NoResponseForAggregatedItemException(item: A) extends RuntimeException with Product with Serializable
    Definition Classes
    Processor

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def analyzeFoundData(submission: InFlightSubmission[UnsequencedSubmission], foundData: Option[CheckData])(implicit traceContext: TraceContext): Try[Result]

    Compare the item against the data that was found in the store and produce a result.

    Compare the item against the data that was found in the store and produce a result. It is called for each item that the update command returned an update counter not equal to 1.

    Attributes
    protected
    Definition Classes
    RegisterProcessorDbBulkUpdateProcessor
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def bulkUpdateAction(submissions: NonEmpty[Seq[Traced[InFlightSubmission[UnsequencedSubmission]]]])(implicit batchTraceContext: TraceContext): resource.DbStorage.Profile.DbStorageAPI.DBIOAction[Array[Int], resource.DbStorage.Profile.DbStorageAPI.NoStream, All]

    Idempotent bulk DB operation for the given items.

    Idempotent bulk DB operation for the given items.

    Attributes
    protected
    Definition Classes
    RegisterProcessorDbBulkUpdateProcessor
  7. def bulkUpdateWithCheck(items: Seq[Traced[InFlightSubmission[UnsequencedSubmission]]], queryBaseName: String)(implicit traceContext: TraceContext, closeContext: CloseContext): Future[Iterable[Try[Result]]]
    Attributes
    protected
    Definition Classes
    DbBulkUpdateProcessor
  8. def bulkUpdateWithCheck(items: NonEmpty[Seq[Traced[InFlightSubmission[UnsequencedSubmission]]]], queryBaseName: String)(implicit traceContext: TraceContext, closeContext: CloseContext): Future[Iterable[Try[Result]]]

    Run the bulkUpdateAction for the given items and then check the reported update row counts.

    Run the bulkUpdateAction for the given items and then check the reported update row counts. For items where the update row count is not 1, look what is in the store and produce a corresponding response by comparing the item with the found data.

    returns

    An scala.collection.Iterable of the same size as items that contains the response for items(i) is at index i.

    Attributes
    protected
    Definition Classes
    DbBulkUpdateProcessor
  9. def checkQuery(submissionsToCheck: NonEmpty[Seq[ChangeIdHash]])(implicit batchTraceContext: TraceContext): Iterable[ReadOnly[Iterable[CheckData]]]

    A list of queries for the items that we want to check for

    A list of queries for the items that we want to check for

    Attributes
    protected
    Definition Classes
    RegisterProcessorDbBulkUpdateProcessor
  10. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  11. implicit val closeContext: CloseContext
  12. def dataIdentifier(submission: CheckData): ChangeIdHash

    Identifier selector for stored data

    Identifier selector for stored data

    Attributes
    protected
    Definition Classes
    RegisterProcessorDbBulkUpdateProcessor
  13. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  15. def executeBatch(submissions: NonEmpty[Seq[Traced[InFlightSubmission[UnsequencedSubmission]]]])(implicit traceContext: TraceContext, callerCloseContext: CloseContext): Future[Iterable[Try[Result]]]

    Computation for a batch of items.

    Computation for a batch of items.

    returns

    The responses for the items in the correct order. Must have the same length

    Definition Classes
    RegisterProcessorProcessor
  16. def executeSingle(item: InFlightSubmission[UnsequencedSubmission])(implicit ec: ExecutionContext, traceContext: TraceContext, callerCloseContext: CloseContext): Future[Try[Result]]

    Computation for a single item.

    Computation for a single item. Should be equivalent to

    executeBatch(Seq(Traced(item))).map(_.head)
    Definition Classes
    Processor
  17. implicit val executionContext: ExecutionContext
    Attributes
    protected
    Definition Classes
    RegisterProcessorDbBulkUpdateProcessor
  18. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  19. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  20. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  21. def itemIdentifier(submission: InFlightSubmission[UnsequencedSubmission]): ChangeIdHash

    Identifier selector for items

    Identifier selector for items

    Attributes
    protected
    Definition Classes
    RegisterProcessorDbBulkUpdateProcessor
  22. def kind: String

    Human-readable description of the kind of items that can be batched

    Human-readable description of the kind of items that can be batched

    Definition Classes
    RegisterProcessorProcessor
  23. val logger: TracedLogger

    Logger to be used by the com.digitalasset.canton.util.BatchAggregator

    Definition Classes
    RegisterProcessorProcessor
  24. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  25. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  26. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  27. def onSuccessItemUpdate(item: Traced[InFlightSubmission[UnsequencedSubmission]]): Try[Result]

    What to return for an item when the bulk operation returns an update count of 1

    What to return for an item when the bulk operation returns an update count of 1

    Attributes
    protected
    Definition Classes
    RegisterProcessorDbBulkUpdateProcessor
  28. def prettyItem: Pretty[InFlightSubmission[UnsequencedSubmission]]

    Pretty printer for items

    Pretty printer for items

    Definition Classes
    RegisterProcessorProcessor
  29. val storage: DbStorage
    Attributes
    protected
    Definition Classes
    RegisterProcessorDbBulkUpdateProcessor
  30. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  31. def toString(): String
    Definition Classes
    AnyRef → Any
  32. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  33. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  34. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated @Deprecated
    Deprecated

Ungrouped