knobs

Resource

object Resource

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Resource
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. final case class ClassPath(s: String, loader: ClassLoader) extends Product with Serializable

  2. type FallbackChain = OneAnd[Vector, ResourceBox]

  3. implicit class ResourceOps[R] extends AnyRef

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. def apply[B](r: B)(implicit B: Resource[B]): ResourceBox

    Construct a new boxed resource from a valid Resource

  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def box[B](r: B)(implicit B: Resource[B]): ResourceBox

  9. implicit def classPathResource: Resource[ClassPath]

  10. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  13. def failIfNone[A](a: Option[A], msg: String): Task[A]

  14. implicit def fallbackResource: Resource[FallbackChain]

  15. implicit def fileResource: Watchable[File]

  16. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  18. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  19. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  20. def loadFile[R](path: Worth[R], load: Task[String])(implicit arg0: Resource[R]): Task[List[Directive]]

    Convenience method for loading a file-like resource.

    Convenience method for loading a file-like resource. load is a Task that does the work of turning the resource into a String that gets parsed by the ConfigParser.

  21. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  22. val notificationPool: ExecutorService

  23. final def notify(): Unit

    Definition Classes
    AnyRef
  24. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  25. def or[R1, R2](r1: R1, r2: R2)(implicit arg0: Resource[R1], arg1: Resource[R2]): FallbackChain

    Returns a resource that tries r1, and if it fails, falls back to r2

  26. def pool(name: String): ExecutorService

  27. def resolveName(parent: String, child: String): String

    Convenience method for resolving a path-like name relative to another.

    Convenience method for resolving a path-like name relative to another. resolve("foo/bar", "baz") = "foo/baz" resolve("foo/bar/", "baz") = "foo/bar/baz" resolve(_, "/bar") = "/bar"

  28. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  29. implicit def sysPropsResource: Resource[Pattern]

  30. def toString(): String

    Definition Classes
    AnyRef → Any
  31. implicit def uriResource: Resource[URI]

  32. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. def watchEvent(path: java.nio.file.Path): Task[Process[Task, WatchEvent[_]]]

  36. val watchPool: ExecutorService

Inherited from AnyRef

Inherited from Any

Ungrouped