c

com.daml.resources

TimerResourceOwner

class TimerResourceOwner[Context] extends AbstractResourceOwner[Context, Timer]

Linear Supertypes
AbstractResourceOwner[Context, Timer], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TimerResourceOwner
  2. AbstractResourceOwner
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new TimerResourceOwner(acquireTimer: () ⇒ Timer)(implicit arg0: HasExecutionContext[Context])

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. def acquire()(implicit context: Context): Resource[Context, Timer]

    Acquires the Resource.

    Acquires the Resource.

    context

    The acquisition context, including the asynchronous task execution engine.

    returns

    The acquired Resource.

    Definition Classes
    TimerResourceOwnerAbstractResourceOwner
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  9. implicit def executionContext(implicit context: Context): ExecutionContext
    Attributes
    protected
    Definition Classes
    AbstractResourceOwner
  10. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. def flatMap[B](f: (Timer) ⇒ R[B]): R[B]

    Definition Classes
    AbstractResourceOwner
    See also

    Resource.flatMap

  12. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. def map[B](f: (Timer) ⇒ B): R[B]

    Definition Classes
    AbstractResourceOwner
    See also

    Resource.map

  16. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  18. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  20. def toString(): String
    Definition Classes
    AnyRef → Any
  21. def transform[B](f: (Try[Timer]) ⇒ Try[B]): R[B]

    Definition Classes
    AbstractResourceOwner
    See also

    Resource.transform

  22. def transformWith[B](f: (Try[Timer]) ⇒ R[B]): R[B]

  23. def use[T](behavior: (Timer) ⇒ Future[T])(implicit context: Context): Future[T]

    Acquire the Resource's value, use it asynchronously, and release it afterwards.

    Acquire the Resource's value, use it asynchronously, and release it afterwards.

    T

    The asynchronous computation's value type.

    behavior

    The asynchronous computation on the value.

    context

    The acquisition context, including the asynchronous task execution engine.

    returns

    The asynchronous computation's Future.

    Definition Classes
    AbstractResourceOwner
  24. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  27. def withFilter(p: (Timer) ⇒ Boolean): R[Timer]

    Definition Classes
    AbstractResourceOwner
    See also

    Resource.withFilter

Inherited from AbstractResourceOwner[Context, Timer]

Inherited from AnyRef

Inherited from Any

Ungrouped