final
case class
Reloadable[Service](scopedRef: ScopedRef[Service], reload: IO[Any, Unit]) extends Product with Serializable
Instance Constructors
-
new
Reloadable(scopedRef: ScopedRef[Service], reload: IO[Any, Unit])
Value Members
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
final
def
==(arg0: Any): Boolean
-
final
def
asInstanceOf[T0]: T0
-
def
clone(): AnyRef
-
-
def
finalize(): Unit
-
def
get(implicit trace: Trace): UIO[Service]
-
final
def
getClass(): Class[_]
-
final
def
isInstanceOf[T0]: Boolean
-
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
-
def
reloadFork(implicit trace: Trace): UIO[Unit]
-
val
scopedRef: ScopedRef[Service]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
A Reloadable is an implementation of some service that can be dynamically reloaded, or swapped out for another implementation on-the-fly.