EventLoopGroups

zio.http.netty.EventLoopGroups

Simple wrapper over NioEventLoopGroup

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

trait Config extends Config

Attributes

Supertypes
trait Config
class Object
trait Matchable
class Any
Known subtypes
class NettyConfig
class BossGroup

Value members

Concrete methods

def default(config: Config)(implicit trace: Trace): ZIO[Scope, Nothing, EventLoopGroup]
def epoll(config: Config)(implicit trace: Trace): ZIO[Scope, Nothing, EventLoopGroup]
def epoll(config: Config, executor: Executor)(implicit trace: Trace): ZIO[Scope, Nothing, EventLoopGroup]
def kqueue(config: Config)(implicit trace: Trace): ZIO[Scope, Nothing, EventLoopGroup]
def make(config: Config, eventLoopGroup: UIO[EventLoopGroup])(implicit trace: Trace): ZIO[Scope, Nothing, EventLoopGroup]
def nio(config: Config)(implicit trace: Trace): ZIO[Scope, Nothing, EventLoopGroup]
def nio(config: Config, executor: Executor)(implicit trace: Trace): ZIO[Scope, Nothing, EventLoopGroup]
def uring(config: Config)(implicit trace: Trace): ZIO[Scope, Nothing, EventLoopGroup]

Creates a new instance of IOUringEventLoopGroup with the given configuration. This requires the io.netty.incubator:netty-incubator-transport-native-io_uring dependency. That experimental dependency is not provided by default and must be added explicitly to use this transport.

Creates a new instance of IOUringEventLoopGroup with the given configuration. This requires the io.netty.incubator:netty-incubator-transport-native-io_uring dependency. That experimental dependency is not provided by default and must be added explicitly to use this transport.

Attributes

def uring(config: Config, executor: Executor)(implicit trace: Trace): ZIO[Scope, Nothing, EventLoopGroup]

Creates a new instance of IOUringEventLoopGroup with the given configuration and executor. This requires the io.netty.incubator:netty-incubator-transport-native-io_uring dependency. That experimental dependency is not provided by default and must be added explicitly to use this transport.

Creates a new instance of IOUringEventLoopGroup with the given configuration and executor. This requires the io.netty.incubator:netty-incubator-transport-native-io_uring dependency. That experimental dependency is not provided by default and must be added explicitly to use this transport.

Attributes

Concrete fields

val live: ZLayer[Config, Nothing, EventLoopGroup]

Implicits

Implicits

implicit val trace: Trace