public class SharedNioEventLoopGroup
extends io.netty.channel.nio.NioEventLoopGroup
Modifier and Type | Method and Description |
---|---|
static void |
forceShutdown() |
static SharedNioEventLoopGroup |
getInstance(int numThreads) |
io.netty.util.concurrent.Future<?> |
shutdownGracefully() |
io.netty.util.concurrent.Future<?> |
shutdownGracefully(long l,
long l2,
TimeUnit timeUnit) |
io.netty.util.concurrent.Future<?> |
terminationFuture() |
newChild, rebuildSelectors, setIoRatio
newDefaultThreadFactory, next, register, register
awaitTermination, children, executorCount, isShutdown, isShuttingDown, isTerminated, iterator, shutdown
execute, invokeAll, invokeAll, invokeAny, invokeAny, schedule, schedule, scheduleAtFixedRate, scheduleWithFixedDelay, shutdownNow, submit, submit, submit
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isShuttingDown, iterator, schedule, schedule, scheduleAtFixedRate, scheduleWithFixedDelay, shutdown, shutdownNow, submit, submit, submit
awaitTermination, invokeAll, invokeAll, invokeAny, invokeAny, isShutdown, isTerminated
forEach, spliterator
public static void forceShutdown()
public static SharedNioEventLoopGroup getInstance(int numThreads)
public io.netty.util.concurrent.Future<?> terminationFuture()
terminationFuture
in interface io.netty.util.concurrent.EventExecutorGroup
terminationFuture
in class io.netty.util.concurrent.MultithreadEventExecutorGroup
public io.netty.util.concurrent.Future<?> shutdownGracefully()
shutdownGracefully
in interface io.netty.util.concurrent.EventExecutorGroup
shutdownGracefully
in class io.netty.util.concurrent.AbstractEventExecutorGroup
public io.netty.util.concurrent.Future<?> shutdownGracefully(long l, long l2, TimeUnit timeUnit)
shutdownGracefully
in interface io.netty.util.concurrent.EventExecutorGroup
shutdownGracefully
in class io.netty.util.concurrent.MultithreadEventExecutorGroup
Copyright © 2016 JBoss by Red Hat. All rights reserved.