object Lifecycle extends NoTracing

Utilities for working with instances that support our lifecycle pattern.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Lifecycle
  2. NoTracing
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. class CloseableChannel extends AutoCloseable
  2. class CloseableServer extends AutoCloseable

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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  6. def close(instances: AutoCloseable*)(logger: TracedLogger): Unit

    Attempts to close all provided closable instances.

    Attempts to close all provided closable instances. Instances are closed in the order that they are provided. These instances are expected to synchronously close or throw. If an exception is encountered when closing an instances, we will still attempt to close other closeables and then throw a ShutdownFailedException. Exceptions thrown by close will be logged and the names of failed instances are wrapped into the ShutdownFailedException.

  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  9. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  10. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  14. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  15. def shutdownResource[A](name: String, shutdown: () => Unit, shutdownNow: () => Unit, awaitIdleness: (FiniteDuration) => Boolean, awaitTermination: (FiniteDuration) => Boolean, gracefulTimeout: FiniteDuration, forcedTimeout: FiniteDuration, logger: TracedLogger, verbose: Boolean = true): Unit
  16. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  17. def toCloseableActorSystem(system: ActorSystem, logger: TracedLogger, timeouts: ProcessingTimeout): AutoCloseable
  18. def toCloseableChannel(channel: ManagedChannel, logger: TracedLogger, name: String): CloseableChannel
  19. def toCloseableMaterializer(mat: Materializer, name: String): AutoCloseable
  20. def toCloseableOption[A <: AutoCloseable](maybeClosable: Option[A]): AutoCloseable
  21. def toCloseableServer(server: Server, logger: TracedLogger, name: String): CloseableServer
  22. def toString(): String
    Definition Classes
    AnyRef → Any
  23. implicit def traceContext: TraceContext
    Attributes
    protected
    Definition Classes
    NoTracing
  24. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  25. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  26. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from NoTracing

Inherited from AnyRef

Inherited from Any

Ungrouped