o

zio.Config

Duration

case object Duration extends Primitive[zio.Duration] with Product with Serializable

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Duration
  2. Serializable
  3. Product
  4. Equals
  5. Primitive
  6. Config
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. def ++[B](that: => Config[B])(implicit zippable: Zippable[zio.Duration, B]): Config[Out]

    Returns a new config that is the composition of this config and the specified config.

    Returns a new config that is the composition of this config and the specified config.

    Definition Classes
    Config
  4. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  5. def ??(label: => String): Config[zio.Duration]

    Adds a description to this configuration, which is intended for humans.

    Adds a description to this configuration, which is intended for humans.

    Definition Classes
    Config
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  8. final def description: String
    Definition Classes
    Primitive
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  11. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. def map[B](f: (zio.Duration) => B): Config[B]

    Returns a new config whose structure is the same as this one, but which produces a different Scala value, constructed using the specified function.

    Returns a new config whose structure is the same as this one, but which produces a different Scala value, constructed using the specified function.

    Definition Classes
    Config
  14. def mapAttempt[B](f: (zio.Duration) => B): Config[B]

    Returns a new config whose structure is the same as this one, but which may produce a different Scala value, constructed using the specified function, which may throw exceptions that will be translated into validation errors.

    Returns a new config whose structure is the same as this one, but which may produce a different Scala value, constructed using the specified function, which may throw exceptions that will be translated into validation errors.

    Definition Classes
    Config
  15. def mapOrFail[B](f: (zio.Duration) => Either[Error, B]): Config[B]

    Returns a new config whose structure is the same as this one, but which may produce a different Scala value, constructed using the specified fallible function.

    Returns a new config whose structure is the same as this one, but which may produce a different Scala value, constructed using the specified fallible function.

    Definition Classes
    Config
  16. final def missingError(name: String): Error
    Definition Classes
    Primitive
  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. def nested(name: => String, names: String*): Config[zio.Duration]

    Returns a new config that has this configuration nested as a property of the specified name.

    Returns a new config that has this configuration nested as a property of the specified name.

    Definition Classes
    Config
  19. def nested(name: => String): Config[zio.Duration]

    Returns a new config that has this configuration nested as a property of the specified name.

    Returns a new config that has this configuration nested as a property of the specified name.

    Definition Classes
    Config
  20. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  22. def optional: Config[Option[zio.Duration]]

    Returns an optional version of this config, which will be None if the data is missing from configuration, and Some otherwise.

    Returns an optional version of this config, which will be None if the data is missing from configuration, and Some otherwise.

    Definition Classes
    Config
  23. def orElse[A1 >: zio.Duration](that: => Config[A1]): Config[A1]

    A named version of ||.

    A named version of ||.

    Definition Classes
    Config
  24. def orElseIf(condition: (Error) => Boolean): OrElse[zio.Duration]

    Returns configuration which reads from this configuration, but which falls back to the specified configuration if reading from this configuration fails with an error satisfying the specified predicate.

    Returns configuration which reads from this configuration, but which falls back to the specified configuration if reading from this configuration fails with an error satisfying the specified predicate.

    Definition Classes
    Config
  25. final def parse(text: String): Either[Error, zio.Duration]
    Definition Classes
    DurationPrimitive
  26. def productElementName(n: Int): String
    Definition Classes
    Product
  27. def productElementNames: Iterator[String]
    Definition Classes
    Product
  28. def repeat: Config[Chunk[zio.Duration]]

    Returns a new config that describes a sequence of values, each of which has the structure of this config.

    Returns a new config that describes a sequence of values, each of which has the structure of this config.

    Definition Classes
    Config
  29. def switch[A1 >: zio.Duration, B](f: (A1, Config[B])*): Config[B]

    Returns a new configuration which reads from this configuration and uses the resulting value to determine the configuration to read from.

    Returns a new configuration which reads from this configuration and uses the resulting value to determine the configuration to read from.

    Definition Classes
    Config
  30. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  31. def validate(message: => String)(f: (zio.Duration) => Boolean): Config[zio.Duration]

    Returns a new config that describes the same structure as this one, but which performs validation during loading.

    Returns a new config that describes the same structure as this one, but which performs validation during loading.

    Definition Classes
    Config
  32. def validateWith[B](message: => String)(pf: PartialFunction[zio.Duration, B]): Config[B]

    Returns a new config whose structure is the same as this one, but which may produce a different Scala value, constructed using the specified partial function, failing with the specified validation error if the partial function is not defined.

    Returns a new config whose structure is the same as this one, but which may produce a different Scala value, constructed using the specified partial function, failing with the specified validation error if the partial function is not defined.

    Definition Classes
    Config
  33. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  34. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  35. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  36. def withDefault[A1 >: zio.Duration](default: => A1): Config[A1]

    Returns a new config that describes the same structure as this one, but has the specified default value in case the information cannot be found.

    Returns a new config that describes the same structure as this one, but has the specified default value in case the information cannot be found.

    Definition Classes
    Config
  37. def zip[B](that: => Config[B])(implicit z: Zippable[zio.Duration, B]): Config[Out]

    A named version of ++.

    A named version of ++.

    Definition Classes
    Config
  38. def zipWith[B, C](that: => Config[B])(f: (zio.Duration, B) => C): Config[C]

    Returns a new configuration that is the composition of this configuration and the specified configuration, combining their values using the function f.

    Returns a new configuration that is the composition of this configuration and the specified configuration, combining their values using the function f.

    Definition Classes
    Config
  39. def ||[A1 >: zio.Duration](that: => Config[A1]): Config[A1]

    Returns a config whose structure is preferentially described by this config, but which falls back to the specified config if there is an issue reading from this config.

    Returns a config whose structure is preferentially described by this config, but which falls back to the specified config if there is an issue reading from this config.

    Definition Classes
    Config

Deprecated Value Members

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

    (Since version 9)

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Primitive[zio.Duration]

Inherited from Config[zio.Duration]

Inherited from AnyRef

Inherited from Any

Ungrouped