Class

org.lyranthe.fs2_grpc.java_runtime.syntax

ServerBuilderOps

Related Doc: package syntax

Permalink

final class ServerBuilderOps extends AnyVal

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

Instance Constructors

  1. new ServerBuilderOps(builder: ServerBuilder[_])

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. val builder: ServerBuilder[_]

    Permalink
  6. def getClass(): Class[_ <: AnyVal]

    Permalink
    Definition Classes
    AnyVal → Any
  7. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  8. def resource[F[_]](implicit F: Sync[F]): Resource[F, Server]

    Permalink

    Builds a Server into a bracketed resource.

    Builds a Server into a bracketed resource. The server 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 server is not yet terminated, we trigger a forceful shutdown

    For different tradeoffs in shutdown behavior, see {{resourceWithShutdown}}.

  9. def resourceWithShutdown[F[_]](shutdown: (Server) ⇒ F[Unit])(implicit F: Sync[F]): Resource[F, Server]

    Permalink

    Builds a Server into a bracketed resource.

    Builds a Server into a bracketed resource. The server is shut down when the resource is released.

    shutdown

    Determines the behavior of the cleanup of the server, 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, Server]

    Permalink

    Builds a Server into a bracketed stream.

    Builds a Server into a bracketed stream. The server 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 server is not yet terminated, we trigger a forceful shutdown

    For different tradeoffs in shutdown behavior, see {{streamWithShutdown}}.

  11. def streamWithShutdown[F[_]](shutdown: (Server) ⇒ F[Unit])(implicit F: Sync[F]): Stream[F, Server]

    Permalink

    Builds a Server into a bracketed stream.

    Builds a Server into a bracketed stream. The server is shut down when the stream is complete.

    shutdown

    Determines the behavior of the cleanup of the server, with respect to forceful vs. graceful shutdown and how to poll or block for termination.

  12. def toString(): String

    Permalink
    Definition Classes
    Any

Inherited from AnyVal

Inherited from Any

Ungrouped