Packages

final class SourceSettings extends AnyRef

Settings class constructor is private and not exposed as API. Adding or removing arguments to methods with default values is not binary compatible. However, since the constructor is private, it will be possible to add or remove attributes without introducing binary incompatibilities.

Source
settings.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SourceSettings
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. val authentication: Authentication
  2. val clientId: String
  3. def getPollInterval(): Duration

    Java API

    Java API

    A separate getter for Java API that converts Scala Duration to Java Duration.

  4. def getTraceId(): Optional[String]

    Java API

    Java API

    A separate getter for Java API that converts Scala Option to Java Optional.

  5. val pollInterval: FiniteDuration
  6. def toString(): String
    Definition Classes
    SourceSettings → AnyRef → Any
  7. val traceId: Option[String]
  8. def withAuthentication(authentication: Authentication): SourceSettings

    Separate setters for every attribute enables easy evolution of settings classes by allowing deprecation and addition of attributes.

  9. def withClientId(clientId: String): SourceSettings
  10. def withPollInterval(pollInterval: Duration): SourceSettings

    Java API

    Java API

    Start method documentation text with "Java API" to make it easy to notice Java specific methods when browsing generated API documentation.

  11. def withPollInterval(pollInterval: FiniteDuration): SourceSettings

    For attributes that uses Java or Scala specific classes, a setter is added for both APIs.

  12. def withTraceId(traceId: String): SourceSettings

    Immutable setter which can be used from both Java and Scala, even if the attribute is stored in a Scala specific class.