GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Overview
  • Use
  • Tree
  • Deprecated
  • Index
  • Search
  • Help
  • io.netty.channel
  • EventLoopGroup

This view

  • Original page
  • New address

GeezerVison is showing netty.io — EventLoopGroup (Netty API Reference (4.1.141.Final))

Interface EventLoopGroup

All Superinterfaces:
EventExecutorGroup, Executor, ExecutorService, Iterable<EventExecutor>, ScheduledExecutorService
All Known Subinterfaces:
EventLoop
All Known Implementing Classes:
AbstractEventLoop, AbstractEventLoopGroup, DefaultEventLoop, DefaultEventLoopGroup, EpollEventLoop, EpollEventLoopGroup, KQueueEventLoopGroup, LocalEventLoopGroup, MultithreadEventLoopGroup, NioEventLoop, NioEventLoopGroup, OioEventLoopGroup, SingleThreadEventLoop, ThreadPerChannelEventLoop, ThreadPerChannelEventLoopGroup

public interface EventLoopGroup extends EventExecutorGroup
Special EventExecutorGroup which allows registering Channels that get processed for later selection during the event loop.
  • Method Summary

    Modifier and Type
    Method
    Description
    EventLoop
    next()
    Return the next EventLoop to use
    ChannelFuture
    register(Channel channel)
    Register a Channel with this EventLoop.
    ChannelFuture
    register(ChannelPromise promise)
    Register a Channel with this EventLoop using a ChannelFuture.
    ChannelFuture
    register(Channel channel, ChannelPromise promise)
    Deprecated.
    Use register(ChannelPromise) instead.

    Methods inherited from interface EventExecutorGroup

    isShuttingDown, iterator, schedule, schedule, scheduleAtFixedRate, scheduleWithFixedDelay, shutdown, shutdownGracefully, shutdownGracefully, shutdownNow, submit, submit, submit, terminationFuture
    Modifier and Type
    Method
    Description
    boolean
    isShuttingDown()
    Returns true if and only if all EventExecutors managed by this EventExecutorGroup are being shut down gracefully or was shut down.
    Iterator<EventExecutor>
    iterator()
     
    ScheduledFuture<?>
    schedule(Runnable command, long delay, TimeUnit unit)
     
    <V> ScheduledFuture<V>
    schedule(Callable<V> callable, long delay, TimeUnit unit)
     
    ScheduledFuture<?>
    scheduleAtFixedRate(Runnable command, long initialDelay, long period, TimeUnit unit)
     
    ScheduledFuture<?>
    scheduleWithFixedDelay(Runnable command, long initialDelay, long delay, TimeUnit unit)
     
    void
    shutdown()
    Deprecated.
    EventExecutorGroup.shutdownGracefully(long, long, TimeUnit) or EventExecutorGroup.shutdownGracefully() instead.
    Future<?>
    shutdownGracefully()
    Shortcut method for EventExecutorGroup.shutdownGracefully(long, long, TimeUnit) with sensible default values.
    Future<?>
    shutdownGracefully(long quietPeriod, long timeout, TimeUnit unit)
    Signals this executor that the caller wants the executor to be shut down.
    List<Runnable>
    shutdownNow()
    Deprecated.
    EventExecutorGroup.shutdownGracefully(long, long, TimeUnit) or EventExecutorGroup.shutdownGracefully() instead.
    Future<?>
    submit(Runnable task)
     
    <T> Future<T>
    submit(Runnable task, T result)
     
    <T> Future<T>
    submit(Callable<T> task)
     
    Future<?>
    terminationFuture()
    Returns the Future which is notified when all EventExecutors managed by this EventExecutorGroup have been terminated.

    Methods inherited from interface Executor

    execute

    Methods inherited from interface ExecutorService

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

    Methods inherited from interface Iterable

    forEach, spliterator
  • Method Details

    • next

      EventLoop next()
      Return the next EventLoop to use
      Specified by:
      next in interface EventExecutorGroup
    • register

      ChannelFuture register(Channel channel)
      Register a Channel with this EventLoop. The returned ChannelFuture will get notified once the registration was complete.
    • register

      ChannelFuture register(ChannelPromise promise)
      Register a Channel with this EventLoop using a ChannelFuture. The passed ChannelFuture will get notified once the registration was complete and also will get returned.
    • register

      @Deprecated ChannelFuture register(Channel channel, ChannelPromise promise)
      Deprecated.
      Use register(ChannelPromise) instead.
      Register a Channel with this EventLoop. The passed ChannelFuture will get notified once the registration was complete and also will get returned.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.