com.rojoma.simplearm.v2

Resource

object Resource extends MediumPriorityImplicits

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

Type Members

  1. type ReflectiveCloseable = AnyRef { def close(): Unit }

    Definition Classes
    LowPriorityImplicits

Value Members

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

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Definition Classes
    AnyRef → Any
  4. object Noop extends Resource[Any]

  5. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  6. implicit def autoCloseableResource[A <: AutoCloseable]: Resource[A]

    Definition Classes
    MediumPriorityImplicits
  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. implicit object connectionResource extends Resource[Connection]

    A Resource for a JDBC Connection.

    A Resource for a JDBC Connection.

    It is implementation-defined behavior to close a JDBC connection with an open transaction, and at least one database interprets that as "throw an exception if there is a pending transaction". This rolls back any pending transaction before closing the connection. If the rollback throws, the close will still be attempted, and if the close also throws its exception will be added to the rollback exception's suppressed list.

  9. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  11. implicit def executorServiceResource[A <: ExecutorService](implicit executorShutdownTimeout: ExecutorShutdownTimeout): Resource[A]

    Definition Classes
    MediumPriorityImplicits
  12. val executorShutdownNoTimeout: ExecutorShutdownTimeout

  13. def executorShutdownTimeout(duration: FiniteDuration)(onTimeout: (ExecutorService) ⇒ Any): ExecutorShutdownTimeout

  14. def finalize(): Unit

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

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

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

    Definition Classes
    Any
  18. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  19. final def notify(): Unit

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

    Definition Classes
    AnyRef
  21. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  22. def toString(): String

    Definition Classes
    AnyRef → Any
  23. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. implicit def duckCloseResource[A <: ReflectiveCloseable]: Resource[A]

    Definition Classes
    LowPriorityImplicits
    Annotations
    @deprecated
    Deprecated

    (Since version 2.3.1) Implement a specific instance of Resource for this type

Inherited from MediumPriorityImplicits

Inherited from LowPriorityImplicits

Inherited from AnyRef

Inherited from Any

Ungrouped