Packages

final case class IndexServiceConfig(bufferedEventsProcessingParallelism: Int = IndexServiceConfig.DefaultBufferedEventsProcessingParallelism, bufferedStreamsPageSize: Int = IndexServiceConfig.DefaultBufferedStreamsPageSize, maxContractStateCacheSize: Long = IndexServiceConfig.DefaultMaxContractStateCacheSize, maxContractKeyStateCacheSize: Long = IndexServiceConfig.DefaultMaxContractKeyStateCacheSize, maxTransactionsInMemoryFanOutBufferSize: Int = IndexServiceConfig.DefaultMaxTransactionsInMemoryFanOutBufferSize, apiStreamShutdownTimeout: Duration = IndexServiceConfig.DefaultApiStreamShutdownTimeout, inMemoryStateUpdaterParallelism: Int = IndexServiceConfig.DefaultInMemoryStateUpdaterParallelism, inMemoryFanOutThreadPoolSize: Option[Int] = None, preparePackageMetadataTimeOutWarning: NonNegativeFiniteDuration = IndexServiceConfig.PreparePackageMetadataTimeOutWarning, completionsPageSize: Int = IndexServiceConfig.DefaultCompletionsPageSize, activeContractsServiceStreams: ActiveContractsServiceStreamsConfig = ActiveContractsServiceStreamsConfig.default, transactionFlatStreams: TransactionFlatStreamsConfig = TransactionFlatStreamsConfig.default, transactionTreeStreams: TransactionTreeStreamsConfig = TransactionTreeStreamsConfig.default, globalMaxEventIdQueries: Int = 20, globalMaxEventPayloadQueries: Int = 10) extends Product with Serializable

Ledger api index service specific configurations

bufferedEventsProcessingParallelism

parallelism for loading and decoding ledger events for populating ledger api server's internal buffers

bufferedStreamsPageSize

the page size for streams created from ledger api server's in-memory buffers

maxContractStateCacheSize

maximum caffeine cache size of mutable state cache of contracts

maxContractKeyStateCacheSize

maximum caffeine cache size of mutable state cache of contract keys

maxTransactionsInMemoryFanOutBufferSize

maximum number of transactions to hold in the "in-memory fanout" (if enabled)

apiStreamShutdownTimeout

shutdown timeout for a graceful completion of ledger api server's streams

inMemoryStateUpdaterParallelism

the processing parallelism of the Ledger API server in-memory state updater

inMemoryFanOutThreadPoolSize

size of the thread-pool backing the Ledger API in-memory fan-out. If not set, defaults to ((number of thread)/4 + 1)

preparePackageMetadataTimeOutWarning

timeout for package metadata preparation after which a warning will be logged

completionsPageSize

database / pekko page size for batching of ledger api server index ledger completion queries

activeContractsServiceStreams

configurations pertaining to the ledger api server's "active contracts service"

transactionFlatStreams

configurations pertaining to the ledger api server's streams of transaction trees

transactionTreeStreams

configurations pertaining to the ledger api server's streams of flat transactions

globalMaxEventIdQueries

maximum number of concurrent event id queries across all stream types

globalMaxEventPayloadQueries

maximum number of concurrent event payload queries across all stream types

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. IndexServiceConfig
  2. Serializable
  3. Product
  4. Equals
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new IndexServiceConfig(bufferedEventsProcessingParallelism: Int = IndexServiceConfig.DefaultBufferedEventsProcessingParallelism, bufferedStreamsPageSize: Int = IndexServiceConfig.DefaultBufferedStreamsPageSize, maxContractStateCacheSize: Long = IndexServiceConfig.DefaultMaxContractStateCacheSize, maxContractKeyStateCacheSize: Long = IndexServiceConfig.DefaultMaxContractKeyStateCacheSize, maxTransactionsInMemoryFanOutBufferSize: Int = IndexServiceConfig.DefaultMaxTransactionsInMemoryFanOutBufferSize, apiStreamShutdownTimeout: Duration = IndexServiceConfig.DefaultApiStreamShutdownTimeout, inMemoryStateUpdaterParallelism: Int = IndexServiceConfig.DefaultInMemoryStateUpdaterParallelism, inMemoryFanOutThreadPoolSize: Option[Int] = None, preparePackageMetadataTimeOutWarning: NonNegativeFiniteDuration = IndexServiceConfig.PreparePackageMetadataTimeOutWarning, completionsPageSize: Int = IndexServiceConfig.DefaultCompletionsPageSize, activeContractsServiceStreams: ActiveContractsServiceStreamsConfig = ActiveContractsServiceStreamsConfig.default, transactionFlatStreams: TransactionFlatStreamsConfig = TransactionFlatStreamsConfig.default, transactionTreeStreams: TransactionTreeStreamsConfig = TransactionTreeStreamsConfig.default, globalMaxEventIdQueries: Int = 20, globalMaxEventPayloadQueries: Int = 10)

    bufferedEventsProcessingParallelism

    parallelism for loading and decoding ledger events for populating ledger api server's internal buffers

    bufferedStreamsPageSize

    the page size for streams created from ledger api server's in-memory buffers

    maxContractStateCacheSize

    maximum caffeine cache size of mutable state cache of contracts

    maxContractKeyStateCacheSize

    maximum caffeine cache size of mutable state cache of contract keys

    maxTransactionsInMemoryFanOutBufferSize

    maximum number of transactions to hold in the "in-memory fanout" (if enabled)

    apiStreamShutdownTimeout

    shutdown timeout for a graceful completion of ledger api server's streams

    inMemoryStateUpdaterParallelism

    the processing parallelism of the Ledger API server in-memory state updater

    inMemoryFanOutThreadPoolSize

    size of the thread-pool backing the Ledger API in-memory fan-out. If not set, defaults to ((number of thread)/4 + 1)

    preparePackageMetadataTimeOutWarning

    timeout for package metadata preparation after which a warning will be logged

    completionsPageSize

    database / pekko page size for batching of ledger api server index ledger completion queries

    activeContractsServiceStreams

    configurations pertaining to the ledger api server's "active contracts service"

    transactionFlatStreams

    configurations pertaining to the ledger api server's streams of transaction trees

    transactionTreeStreams

    configurations pertaining to the ledger api server's streams of flat transactions

    globalMaxEventIdQueries

    maximum number of concurrent event id queries across all stream types

    globalMaxEventPayloadQueries

    maximum number of concurrent event payload queries across all stream types

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. val activeContractsServiceStreams: ActiveContractsServiceStreamsConfig
  5. val apiStreamShutdownTimeout: Duration
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. val bufferedEventsProcessingParallelism: Int
  8. val bufferedStreamsPageSize: Int
  9. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  10. val completionsPageSize: Int
  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  13. val globalMaxEventIdQueries: Int
  14. val globalMaxEventPayloadQueries: Int
  15. val inMemoryFanOutThreadPoolSize: Option[Int]
  16. val inMemoryStateUpdaterParallelism: Int
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. val maxContractKeyStateCacheSize: Long
  19. val maxContractStateCacheSize: Long
  20. val maxTransactionsInMemoryFanOutBufferSize: Int
  21. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  23. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  24. val preparePackageMetadataTimeOutWarning: NonNegativeFiniteDuration
  25. def productElementNames: Iterator[String]
    Definition Classes
    Product
  26. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  27. val transactionFlatStreams: TransactionFlatStreamsConfig
  28. val transactionTreeStreams: TransactionTreeStreamsConfig
  29. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  30. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  31. 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

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped