Class WatchedSingleThreadIoEventLoop
java.lang.Object
java.util.concurrent.AbstractExecutorService
io.netty.util.concurrent.AbstractEventExecutor
io.netty.util.concurrent.AbstractScheduledEventExecutor
io.netty.util.concurrent.SingleThreadEventExecutor
io.netty.channel.SingleThreadEventLoop
io.netty.channel.SingleThreadIoEventLoop
org.geysermc.geyser.network.netty.WatchedSingleThreadIoEventLoop
- All Implemented Interfaces:
io.netty.channel.EventLoop,io.netty.channel.EventLoopGroup,io.netty.channel.IoEventLoop,io.netty.channel.IoEventLoopGroup,io.netty.util.concurrent.EventExecutor,io.netty.util.concurrent.EventExecutorGroup,io.netty.util.concurrent.OrderedEventExecutor,io.netty.util.concurrent.ThreadAwareExecutor,Iterable<io.netty.util.concurrent.EventExecutor>,Executor,ExecutorService,ScheduledExecutorService
public class WatchedSingleThreadIoEventLoop
extends io.netty.channel.SingleThreadIoEventLoop
-
Nested Class Summary
Nested classes/interfaces inherited from class io.netty.channel.SingleThreadEventLoop
io.netty.channel.SingleThreadEventLoop.ChannelsReadOnlyIterator<T extends io.netty.channel.Channel>Nested classes/interfaces inherited from class io.netty.util.concurrent.SingleThreadEventExecutor
io.netty.util.concurrent.SingleThreadEventExecutor.NonWakeupRunnableNested classes/interfaces inherited from class io.netty.util.concurrent.AbstractEventExecutor
io.netty.util.concurrent.AbstractEventExecutor.LazyRunnable -
Field Summary
Fields inherited from class io.netty.channel.SingleThreadEventLoop
DEFAULT_MAX_PENDING_TASKS -
Constructor Summary
ConstructorsConstructorDescriptionWatchedSingleThreadIoEventLoop(io.netty.channel.EventLoopGroup trueWorkerGroup, io.netty.channel.IoEventLoopGroup parent, Executor executor, io.netty.channel.IoHandlerFactory ioHandlerFactory) -
Method Summary
Modifier and TypeMethodDescriptionio.netty.channel.ChannelFutureregister(io.netty.channel.Channel channel) Methods inherited from class io.netty.channel.SingleThreadIoEventLoop
canSuspend, cleanup, ioHandler, isCompatible, isIoType, next, register, run, runIo, wakeupMethods inherited from class io.netty.channel.SingleThreadEventLoop
afterRunningAllTasks, executeAfterEventLoopIteration, hasTasks, parent, pendingTasks, register, register, registeredChannels, registeredChannelsIteratorMethods inherited from class io.netty.util.concurrent.SingleThreadEventExecutor
addShutdownHook, addTask, awaitTermination, canSuspend, confirmShutdown, deadlineNanos, delayNanos, execute, inEventLoop, interruptThread, invokeAll, invokeAll, invokeAny, invokeAny, isShutdown, isShuttingDown, isSuspended, isTerminated, lazyExecute, newTaskQueue, newTaskQueue, peekTask, pollTask, pollTaskFrom, reject, reject, removeShutdownHook, removeTask, runAllTasks, runAllTasks, runAllTasksFrom, runScheduledAndExecutorTasks, shutdown, shutdownGracefully, takeTask, terminationFuture, threadProperties, trySuspend, updateLastExecutionTime, wakesUpForTaskMethods inherited from class io.netty.util.concurrent.AbstractScheduledEventExecutor
afterScheduledTaskSubmitted, beforeScheduledTaskSubmitted, cancelScheduledTasks, deadlineToDelayNanos, delayNanos, fetchFromScheduledTaskQueue, getCurrentTimeNanos, hasScheduledTasks, initialNanoTime, nanoTime, nextScheduledTaskDeadlineNanos, nextScheduledTaskNano, pollScheduledTask, pollScheduledTask, schedule, schedule, scheduleAtFixedRate, scheduleWithFixedDelay, ticker, validateScheduledMethods inherited from class io.netty.util.concurrent.AbstractEventExecutor
iterator, newTaskFor, newTaskFor, runTask, safeExecute, shutdownGracefully, shutdownNow, submit, submit, submitMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.netty.util.concurrent.EventExecutor
inEventLoop, inEventLoop, isExecutorThread, isSuspended, newFailedFuture, newProgressivePromise, newPromise, newSucceededFuture, trySuspendMethods inherited from interface io.netty.util.concurrent.EventExecutorGroup
isShuttingDown, iterator, schedule, schedule, scheduleAtFixedRate, scheduleWithFixedDelay, shutdown, shutdownGracefully, shutdownGracefully, shutdownNow, submit, submit, submit, terminationFuture, tickerMethods inherited from interface io.netty.channel.EventLoop
parentMethods inherited from interface io.netty.channel.EventLoopGroup
registerMethods inherited from interface java.util.concurrent.ExecutorService
awaitTermination, invokeAll, invokeAll, invokeAny, invokeAny, isShutdown, isTerminatedMethods inherited from interface io.netty.channel.IoEventLoopGroup
registerMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
WatchedSingleThreadIoEventLoop
public WatchedSingleThreadIoEventLoop(io.netty.channel.EventLoopGroup trueWorkerGroup, io.netty.channel.IoEventLoopGroup parent, Executor executor, io.netty.channel.IoHandlerFactory ioHandlerFactory)
-
-
Method Details
-
register
public io.netty.channel.ChannelFuture register(io.netty.channel.Channel channel) - Specified by:
registerin interfaceio.netty.channel.EventLoopGroup- Specified by:
registerin interfaceio.netty.channel.IoEventLoopGroup- Overrides:
registerin classio.netty.channel.SingleThreadEventLoop
-