object Reloadable extends Serializable
- Alphabetic
- By Inheritance
- Reloadable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
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 auto[In, E, Out](layer: ZLayer[In, E, Out], schedule: Schedule[In, Any, Any])(implicit arg0: Tag[Out], trace: Trace): ZLayer[In, E, Reloadable[Out]]
Makes a new reloadable service from a layer that describes the construction of a static service.
Makes a new reloadable service from a layer that describes the construction of a static service. The service is automatically reloaded according to the provided schedule.
- def autoFromConfig[In, E, Out](layer: ZLayer[In, E, Out], scheduleFromConfig: (ZEnvironment[In]) => Schedule[In, Any, Any])(implicit arg0: Tag[Out], trace: Trace): ZLayer[In, E, Reloadable[Out]]
Makes a new reloadable service from a layer that describes the construction of a static service.
Makes a new reloadable service from a layer that describes the construction of a static service. The service is automatically reloaded according to a schedule, which is extracted from the input to the layer.
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def get[Service](implicit arg0: Tag[Service], trace: Trace): ZIO[Reloadable[Service], Any, Service]
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def manual[In, E, Out](layer: ZLayer[In, E, Out])(implicit arg0: Tag[Out], trace: Trace): ZLayer[In, E, Reloadable[Out]]
Makes a new reloadable service from a layer that describes the construction of a static service.
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def reload[Service](implicit arg0: Tag[Service], trace: Trace): ZIO[Reloadable[Service], Any, Unit]
- def reloadFork[Service](implicit arg0: Tag[Service], trace: Trace): ZIO[Reloadable[Service], Nothing, Unit]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- 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()