object CloseContext extends Serializable
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- CloseContext
- Serializable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- def combineUnsafe(closeContext1: CloseContext, closeContext2: CloseContext, processingTimeout: ProcessingTimeout, tracedLogger: TracedLogger)(implicit traceContext: TraceContext): CloseContext
Combines the 2 given close contexts such that if any of them gets closed, the returned close context is also closed.
Combines the 2 given close contexts such that if any of them gets closed, the returned close context is also closed. Works like an OR operator. However if this returned close context is closed directly, the 2 given closed contexts are _NOT_ closed, neither will it wait for any pending tasks on any of the 2 given close context to finish.
NOTE: YOU MUST CLOSE THE CONTEXT MANUALLY IN ORDER TO AVOID PILING UP NEW TASKS ON THE RUNONSHUTDOWN HOOK OF THE PARENT CONTEXTS
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- def withCombinedContext[F[_], T](closeContext1: CloseContext, closeContext2: CloseContext, processingTimeout: ProcessingTimeout, tracedLogger: TracedLogger)(func: (CloseContext) => F[T])(implicit traceContext: TraceContext, ex: ExecutionContext, F: Thereafter[F]): F[T]