final class ManagedChannelBuilderOps extends AnyVal
- Alphabetic
- By Inheritance
- ManagedChannelBuilderOps
- AnyVal
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new ManagedChannelBuilderOps(builder: ManagedChannelBuilder[_])
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- Any
- final def ##(): Int
- Definition Classes
- Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- val builder: ManagedChannelBuilder[_]
- def getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def resource[F[_]](implicit F: Sync[F]): Resource[F, ManagedChannel]
Builds a
ManagedChannel
into a bracketed stream.Builds a
ManagedChannel
into a bracketed stream. The managed channel is shut down when the stream is complete. Shutdown is as follows:1. We request an orderly shutdown, allowing preexisting calls to continue without accepting new calls. 2. We block for up to 30 seconds on termination, using the blocking context 3. If the channel is not yet terminated, we trigger a forceful shutdown
For different tradeoffs in shutdown behavior, see {{resourceWithShutdown}}.
- def resourceWithShutdown[F[_]](shutdown: (ManagedChannel) => F[Unit])(implicit F: Sync[F]): Resource[F, ManagedChannel]
Builds a
ManagedChannel
into a bracketed resource.Builds a
ManagedChannel
into a bracketed resource. The managed channel is shut down when the resource is released.- shutdown
Determines the behavior of the cleanup of the managed channel, with respect to forceful vs. graceful shutdown and how to poll or block for termination.
- def stream[F[_]](implicit F: Sync[F]): Stream[F, ManagedChannel]
Builds a
ManagedChannel
into a bracketed stream.Builds a
ManagedChannel
into a bracketed stream. The managed channel is shut down when the resource is released. Shutdown is as follows:1. We request an orderly shutdown, allowing preexisting calls to continue without accepting new calls. 2. We block for up to 30 seconds on termination, using the blocking context 3. If the channel is not yet terminated, we trigger a forceful shutdown
For different tradeoffs in shutdown behavior, see {{streamWithShutdown}}.
- def streamWithShutdown[F[_]](shutdown: (ManagedChannel) => F[Unit])(implicit F: Sync[F]): Stream[F, ManagedChannel]
Builds a
ManagedChannel
into a bracketed stream.Builds a
ManagedChannel
into a bracketed stream. The managed channel is shut down when the stream is complete.- shutdown
Determines the behavior of the cleanup of the managed channel, with respect to forceful vs. graceful shutdown and how to poll or block for termination.
- def toString(): String
- Definition Classes
- Any