Class/Object

com.github.choppythelumberjack.tryclose

TryClose

Related Docs: object TryClose | package tryclose

Permalink

abstract class TryClose[+T] extends ImplicitCloseHelper

Linear Supertypes
ImplicitCloseHelper, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TryClose
  2. ImplicitCloseHelper
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new TryClose()(implicit evidence: CanClose[T])

    Permalink

Type Members

  1. class WithFilter extends AnyRef

    Permalink

Abstract Value Members

  1. abstract def retrieve[U](continuation: Continuation[T, U]): TryCloseResult[U]

    Permalink

Concrete Value Members

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  8. def filter(predicate: (T) ⇒ Boolean): TryClose[T]

    Permalink
  9. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. def flatMap[U](f: (T) ⇒ TryClose[U])(implicit innerEvidence: CanClose[U]): TryClose[U]

    Permalink
  11. def flatten[U](implicit ev: <:<[T, TryClose[U]], closeableEvidence: CanClose[U]): TryClose[U]

    Permalink
  12. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  13. def handler: CloseHandler

    Permalink
  14. def hashCode(): Int

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

    Permalink
    Definition Classes
    Any
  16. def map[U](f: (T) ⇒ U)(implicit evidence: CanClose[U]): TryClose[U]

    Permalink
  17. def mapWithHandler[U](f: (T) ⇒ U, closeHandler: CloseHandler = tc=>Unit)(implicit evidence: CanClose[U]): TryClose[U]

    Permalink
  18. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  21. def recover[U >: T](rescueException: PartialFunction[Throwable, U])(implicit evidence: CanClose[U]): TryClose[U]

    Permalink

    Applies the given function f if this fails when resolve happens.

    Applies the given function f if this fails when resolve happens. This is like map for the exception.

  22. def recoverWith[U >: T](rescueException: PartialFunction[Throwable, TryClose[U]])(implicit evidence: CanClose[U]): TryClose[U]

    Permalink

    Applies the given function f if this fails when resolve happens.

    Applies the given function f if this fails when resolve happens. This is like flatMap for the exception.

  23. def recoverWithHandler[U >: T](rescueException: PartialFunction[Throwable, U], closeHandler: CloseHandler = tc=>Unit)(implicit evidence: CanClose[U]): TryClose[U]

    Permalink

    Applies the given function f if this fails when resolve happens.

    Applies the given function f if this fails when resolve happens. This is like map for the exception. Additionally, it allows the user to pass a handler to be called if the closing throws and exception.

  24. def resolve: TryCloseResult[T]

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

    Permalink
    Definition Classes
    AnyRef
  26. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  27. def transform[U](s: (T) ⇒ TryClose[U], f: (Throwable) ⇒ TryClose[U])(implicit evidence: CanClose[U]): TryClose[U]

    Permalink
  28. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def withFilter(p: (T) ⇒ Boolean): WithFilter

    Permalink
    Annotations
    @inline()

Inherited from ImplicitCloseHelper

Inherited from AnyRef

Inherited from Any

Ungrouped