- By Inheritance
- Hide All
- Show All
- class AsyncCloseable extends AsyncOrSyncCloseable
- trait AsyncOrSyncCloseable extends AutoCloseable
- abstract class CancellationException extends RuntimeException
- final case class CloseContext(flagCloseable: FlagCloseable) extends Product with Serializable
Context to capture and pass through a caller's closing state.
- class ClosedCancellationException extends CancellationException
An operation has been cancelled due to shutdown/closing of a component.
- trait FlagCloseable extends AutoCloseable
Provides a way to synchronize closing with other running tasks in the class, such that new tasks aren't scheduled while closing, and such that closing waits for the scheduled tasks.
- trait FlagCloseableAsync extends FlagCloseable
AutoCloseableAsync eases the proper closing of futures.
- type FutureUnlessShutdown[+A] = lifecycle.FutureUnlessShutdownImpl.FutureUnlessShutdown[A]
- See also
FutureUnlessShutdownSig.Ops for extension methods on the abstract type
- sealed abstract class FutureUnlessShutdownImpl extends AnyRef
Monad combination of
- trait HasCloseContext extends AnyRef
- trait RunOnShutdown extends AnyRef
Trait that can be registered with a [FlagCloseable] to run on shutdown
- class ShutdownFailedException extends RuntimeException
- trait StartAndCloseable[A] extends FlagCloseableAsync
Trait to cleanly manage concurrent start and close operations
- class SyncCloseable extends AsyncOrSyncCloseable
- sealed trait UnlessShutdown[+A] extends Product with Serializable
The type of the outcome.
- object AsyncCloseable
- object ClosingException
Helper to pattern match for exceptions that may happen during shutdown/closing.
- object FlagCloseable
- object FutureUnlessShutdown
- object FutureUnlessShutdownImpl
- object Lifecycle extends NoTracing
Utilities for working with instances that support our lifecycle pattern.
- object StartAndCloseable
- object SyncCloseable
- object UnlessShutdown extends Serializable