p
knobs
package knobs
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- knobs
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Type Members
- type ChangeHandler = (Name, Option[CfgValue]) ⇒ Task[Unit]
- type Env = Map[Name, CfgValue]
- type KnobsResource = Worth[ResourceBox]
- type Name = String
- type Path = String
-
case class
ZNode
(client: CuratorFramework, path: Path) extends Product with Serializable
A ZNode contains a
path
to a node in the ZooKeeper tree provided by the givenclient
.A ZNode contains a
path
to a node in the ZooKeeper tree provided by the givenclient
. Theclient
is assumed to be started. Knobs does not do any kind of managing of ZooKeeper connections.
Value Members
- def load(files: List[KnobsResource], pool: ExecutorService): Task[MutableConfig]
- def loadGroups(files: List[(Name, KnobsResource)], pool: ExecutorService): Task[MutableConfig]
- def loadImmutable(files: List[KnobsResource], pool: ExecutorService): Task[Config]
- def recursiveImports[R](path: R, d: List[Directive])(implicit arg0: Resource[R]): Task[List[R]]
- def when[M[_]](b: Boolean)(m: M[Unit])(implicit arg0: Monad[M]): M[Unit]
- object ZooKeeper
Deprecated Value Members
-
def
importsOf[R](path: R, d: List[Directive])(implicit arg0: Resource[R]): List[KnobsResource]
- Annotations
- @deprecated
- Deprecated
(Since version 4.0.31) Does not support interpolation of environment variables
-
def
resolveImports[R](path: R, d: List[Directive])(implicit arg0: Resource[R]): List[R]
- Annotations
- @deprecated
- Deprecated
(Since version 4.0.31) Does not support interpolation of environment variables