SocketGroup

object SocketGroup
Companion
class
class Object
trait Matchable
class Any

Value members

Concrete methods

def apply[F[_]](blocker: Blocker, nonBlockingThreadCount: Int, nonBlockingThreadFactory: ThreadFactory)(`evidence$1`: Sync[F], `evidence$2`: ContextShift[F]): Resource[F, SocketGroup]

Creates a SocketGroup.

Creates a SocketGroup.

The supplied blocker is used for networking calls other than reads/writes. All reads and writes are performed on a non-blocking thread pool associated with the SocketGroup. The non-blocking thread pool is sized to the number of available processors but that can be overridden by supplying a value for nonBlockingThreadCount. See https://openjdk.java.net/projects/nio/resources/AsynchronousIo.html for more information on NIO thread pooling.