Packages

c

org.lyranthe.fs2_grpc.java_runtime.syntax

ManagedChannelBuilderOps

final class ManagedChannelBuilderOps extends AnyVal

Linear Supertypes
AnyVal, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ManagedChannelBuilderOps
  2. AnyVal
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new ManagedChannelBuilderOps(builder: ManagedChannelBuilder[_])

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    Any
  2. final def ##(): Int
    Definition Classes
    Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. val builder: ManagedChannelBuilder[_]
  6. def getClass(): Class[_ <: AnyVal]
    Definition Classes
    AnyVal → Any
  7. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  8. 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}}.

  9. 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.

  10. 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}}.

  11. 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.

  12. def toString(): String
    Definition Classes
    Any

Inherited from AnyVal

Inherited from Any

Ungrouped