public final class Bootstraps extends Object
| Constructor and Description |
|---|
Bootstraps() |
| Modifier and Type | Method and Description |
|---|---|
static CompletableFuture<Void> |
allOf(io.netty.channel.ChannelFuture... futures) |
static Optional<int[]> |
getKernelVersion() |
static boolean |
isReusePortAvailable() |
static void |
setupBootstrap(io.netty.bootstrap.Bootstrap bootstrap,
boolean datagram) |
static void |
setupServerBootstrap(io.netty.bootstrap.ServerBootstrap bootstrap) |
public static Optional<int[]> getKernelVersion()
public static boolean isReusePortAvailable()
public static void setupBootstrap(io.netty.bootstrap.Bootstrap bootstrap,
boolean datagram)
public static void setupServerBootstrap(io.netty.bootstrap.ServerBootstrap bootstrap)
public static CompletableFuture<Void> allOf(io.netty.channel.ChannelFuture... futures)
Copyright © 2018–2019. All rights reserved.