Reloadable

zio.Reloadable
See theReloadable companion class
object Reloadable

Attributes

Companion
class
Source
Reloadable.scala
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Reloadable.type

Members list

Type members

Inherited and Abstract types

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
Source
Mirror.scala

The name of the type

The name of the type

Attributes

Inherited from:
Mirror
Source
Mirror.scala

Value members

Concrete methods

def auto[In, E, Out : Tag](layer: ZLayer[In, E, Out], schedule: Schedule[In, Any, Any])(implicit evidence$1: 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. The service is automatically reloaded according to the provided schedule.

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.

Attributes

Source
Reloadable.scala
def autoFromConfig[In, E, Out : Tag](layer: ZLayer[In, E, Out], scheduleFromConfig: (ZEnvironment[In]) => Schedule[In, Any, Any])(implicit evidence$1: 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. The service is automatically reloaded according to a schedule, which is extracted from the input to the layer.

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.

Attributes

Source
Reloadable.scala
def get[Service : Tag](implicit evidence$1: Tag[Service], trace: Trace): ZIO[Reloadable[Service], Any, Service]

Attributes

Source
Reloadable.scala
def manual[In, E, Out : Tag](layer: ZLayer[In, E, Out])(implicit evidence$1: 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.

Attributes

Source
Reloadable.scala
def reload[Service : Tag](implicit evidence$1: Tag[Service], trace: Trace): ZIO[Reloadable[Service], Any, Unit]

Attributes

Source
Reloadable.scala
def reloadFork[Service : Tag](implicit evidence$1: Tag[Service], trace: Trace): ZIO[Reloadable[Service], Nothing, Unit]

Attributes

Source
Reloadable.scala