Trait

com.reactific.helpers

FutureHelper

Related Doc: package helpers

Permalink

trait FutureHelper extends LoggingHelper

Utilities used throughout Scrupla. Should probably be an aspect, but we just mix this in as needed. Helps with logging, throwing exceptions and dealing with futures.

Linear Supertypes
LoggingHelper, AnyRef, Any
Type Hierarchy Learn more about scaladoc diagrams
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. FutureHelper
  2. LoggingHelper
  3. AnyRef
  4. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Value Members

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from FutureHelper to any2stringadd[FutureHelper] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (FutureHelper, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from FutureHelper to ArrowAssoc[FutureHelper] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean

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

    Permalink
    Definition Classes
    Any
  7. def await[X](future: ⇒ Future[X], duration: FiniteDuration, opName: String): Try[X]

    Permalink

    Handle Exceptions From Asynchronous Results This awaits a future operation that returns HTML and converts any exception that arises during the future operation or waiting into HTML as well.

    Handle Exceptions From Asynchronous Results This awaits a future operation that returns HTML and converts any exception that arises during the future operation or waiting into HTML as well. So, this is guaranteed to never let an exception escape and to always return Html.

    future

    The Future[Html] to wait for

    duration

    How long to wait, at most

    opName

    The name of the operation being waited for, to assist with error messages

    returns

    A blob of Html containing either the intended result or an error message.

  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. def createLoggerName: String

    Permalink
    Attributes
    protected
    Definition Classes
    LoggingHelper
  10. def ensuring(cond: (FutureHelper) ⇒ Boolean, msg: ⇒ Any): FutureHelper

    Permalink
    Implicit information
    This member is added by an implicit conversion from FutureHelper to Ensuring[FutureHelper] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  11. def ensuring(cond: (FutureHelper) ⇒ Boolean): FutureHelper

    Permalink
    Implicit information
    This member is added by an implicit conversion from FutureHelper to Ensuring[FutureHelper] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. def ensuring(cond: Boolean, msg: ⇒ Any): FutureHelper

    Permalink
    Implicit information
    This member is added by an implicit conversion from FutureHelper to Ensuring[FutureHelper] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  13. def ensuring(cond: Boolean): FutureHelper

    Permalink
    Implicit information
    This member is added by an implicit conversion from FutureHelper to Ensuring[FutureHelper] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  14. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  16. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. def formatted(fmtstr: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from FutureHelper to StringFormat[FutureHelper] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  18. final def getClass(): Class[_]

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

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

    Permalink
    Definition Classes
    Any
  21. def level: Level

    Permalink
    Definition Classes
    LoggingHelper
  22. lazy val log: Logger

    Permalink
    Attributes
    protected
    Definition Classes
    LoggingHelper
  23. def loggerName: String

    Permalink
    Definition Classes
    LoggingHelper
  24. final def ne(arg0: AnyRef): Boolean

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. def [B](y: B): (FutureHelper, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from FutureHelper to ArrowAssoc[FutureHelper] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Inherited from LoggingHelper

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from FutureHelper to any2stringadd[FutureHelper]

Inherited by implicit conversion StringFormat from FutureHelper to StringFormat[FutureHelper]

Inherited by implicit conversion Ensuring from FutureHelper to Ensuring[FutureHelper]

Inherited by implicit conversion ArrowAssoc from FutureHelper to ArrowAssoc[FutureHelper]

Ungrouped