package resources
Ordering
- Alphabetic
Visibility
- Public
- All
Type Members
- class CloseableResourceOwner[T <: AutoCloseable] extends ResourceOwner[T]
- class ExecutorServiceResourceOwner[T <: ExecutorService] extends ResourceOwner[T]
- class FutureCloseableResourceOwner[T <: AutoCloseable] extends ResourceOwner[T]
- class FutureResourceOwner[T] extends ResourceOwner[T]
- class ProgramResource[T] extends AnyRef
- class ResettableResourceOwner[A, ResetValue] extends ResourceOwner[A]
-
trait
Resource[+A] extends AnyRef
A Resource is a Future that can be (asynchronously) released and will also release automatically upon failure.
A Resource is a Future that can be (asynchronously) released and will also release automatically upon failure.
- A
The type of value being protected as a Resource.
- final class ResourceAcquisitionFilterException extends IOException
-
trait
ResourceOwner[+A] extends AnyRef
A ResourceOwner of type A is can acquire a Resource of the same type and its operations are applied to the Resource after it has been acquired.
A ResourceOwner of type A is can acquire a Resource of the same type and its operations are applied to the Resource after it has been acquired.
- A
The Resource value type.
- Annotations
- @FunctionalInterface()
- class TimerResourceOwner extends ResourceOwner[Timer]
Value Members
- object ExecutorServiceResourceOwner
- object ProgramResource
- object ResettableResourceOwner
- object Resource
-
object
ResourceOwner
Convenient ResourceOwner factory and sequencing methods.