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.NonWakeupRunnable

    Nested 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

    Constructors
    Constructor
    Description
    WatchedSingleThreadIoEventLoop(io.netty.channel.EventLoopGroup trueWorkerGroup, io.netty.channel.IoEventLoopGroup parent, Executor executor, io.netty.channel.IoHandlerFactory ioHandlerFactory)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    io.netty.channel.ChannelFuture
    register(io.netty.channel.Channel channel)
     

    Methods inherited from class io.netty.channel.SingleThreadIoEventLoop

    canSuspend, cleanup, ioHandler, isCompatible, isIoType, next, register, run, runIo, wakeup

    Methods inherited from class io.netty.channel.SingleThreadEventLoop

    afterRunningAllTasks, executeAfterEventLoopIteration, hasTasks, parent, pendingTasks, register, register, registeredChannels, registeredChannelsIterator

    Methods 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, wakesUpForTask

    Methods 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, validateScheduled

    Methods inherited from class io.netty.util.concurrent.AbstractEventExecutor

    iterator, newTaskFor, newTaskFor, runTask, safeExecute, shutdownGracefully, shutdownNow, submit, submit, submit

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface io.netty.util.concurrent.EventExecutor

    inEventLoop, inEventLoop, isExecutorThread, isSuspended, newFailedFuture, newProgressivePromise, newPromise, newSucceededFuture, trySuspend

    Methods inherited from interface io.netty.util.concurrent.EventExecutorGroup

    isShuttingDown, iterator, schedule, schedule, scheduleAtFixedRate, scheduleWithFixedDelay, shutdown, shutdownGracefully, shutdownGracefully, shutdownNow, submit, submit, submit, terminationFuture, ticker

    Methods inherited from interface io.netty.channel.EventLoop

    parent

    Methods inherited from interface io.netty.channel.EventLoopGroup

    register

    Methods inherited from interface java.util.concurrent.Executor

    execute

    Methods inherited from interface java.util.concurrent.ExecutorService

    awaitTermination, invokeAll, invokeAll, invokeAny, invokeAny, isShutdown, isTerminated

    Methods inherited from interface io.netty.channel.IoEventLoopGroup

    register

    Methods 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:
      register in interface io.netty.channel.EventLoopGroup
      Specified by:
      register in interface io.netty.channel.IoEventLoopGroup
      Overrides:
      register in class io.netty.channel.SingleThreadEventLoop