public final class VertxEventLoopGroup
extends io.netty.util.concurrent.AbstractEventExecutorGroup
implements io.netty.channel.EventLoopGroup
Constructor and Description |
---|
VertxEventLoopGroup() |
Modifier and Type | Method and Description |
---|---|
void |
addWorker(io.netty.channel.EventLoop worker) |
boolean |
awaitTermination(long timeout,
TimeUnit unit) |
boolean |
isShutdown() |
boolean |
isShuttingDown() |
boolean |
isTerminated() |
Iterator<io.netty.util.concurrent.EventExecutor> |
iterator() |
io.netty.channel.EventLoop |
next() |
io.netty.channel.ChannelFuture |
register(io.netty.channel.Channel channel) |
io.netty.channel.ChannelFuture |
register(io.netty.channel.Channel channel,
io.netty.channel.ChannelPromise promise) |
void |
removeWorker(io.netty.channel.EventLoop worker) |
void |
shutdown() |
io.netty.util.concurrent.Future<?> |
shutdownGracefully(long quietPeriod,
long timeout,
TimeUnit unit) |
io.netty.util.concurrent.Future<?> |
terminationFuture() |
int |
workerCount() |
execute, invokeAll, invokeAll, invokeAny, invokeAny, schedule, schedule, scheduleAtFixedRate, scheduleWithFixedDelay, shutdownGracefully, shutdownNow, submit, submit, submit
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
schedule, schedule, scheduleAtFixedRate, scheduleWithFixedDelay, shutdownGracefully, shutdownNow, submit, submit, submit
invokeAll, invokeAll, invokeAny, invokeAny
forEach, spliterator
public io.netty.channel.EventLoop next()
next
in interface io.netty.channel.EventLoopGroup
next
in interface io.netty.util.concurrent.EventExecutorGroup
public Iterator<io.netty.util.concurrent.EventExecutor> iterator()
public io.netty.channel.ChannelFuture register(io.netty.channel.Channel channel)
register
in interface io.netty.channel.EventLoopGroup
public io.netty.channel.ChannelFuture register(io.netty.channel.Channel channel, io.netty.channel.ChannelPromise promise)
register
in interface io.netty.channel.EventLoopGroup
public boolean isShutdown()
isShutdown
in interface ExecutorService
public boolean isTerminated()
isTerminated
in interface ExecutorService
public boolean awaitTermination(long timeout, TimeUnit unit) throws InterruptedException
awaitTermination
in interface ExecutorService
InterruptedException
public void addWorker(io.netty.channel.EventLoop worker)
public void shutdown()
shutdown
in interface io.netty.util.concurrent.EventExecutorGroup
shutdown
in interface ExecutorService
shutdown
in class io.netty.util.concurrent.AbstractEventExecutorGroup
public boolean isShuttingDown()
isShuttingDown
in interface io.netty.util.concurrent.EventExecutorGroup
public io.netty.util.concurrent.Future<?> shutdownGracefully(long quietPeriod, long timeout, TimeUnit unit)
shutdownGracefully
in interface io.netty.util.concurrent.EventExecutorGroup
public io.netty.util.concurrent.Future<?> terminationFuture()
terminationFuture
in interface io.netty.util.concurrent.EventExecutorGroup
public void removeWorker(io.netty.channel.EventLoop worker)
public int workerCount()
Copyright © 2015. All Rights Reserved.