Class SharedGroupFactory.SharedGroup

java.lang.Object
org.opensearch.transport.reactor.SharedGroupFactory.SharedGroup
Enclosing class:
SharedGroupFactory

public static class SharedGroupFactory.SharedGroup extends Object
Wraps the SharedGroupFactory.RefCountedGroup. Calls AbstractRefCounted.decRef() on close. After close, this wrapped instance can no longer be used.
  • Method Details

    • getLowLevelGroup

      public io.netty.channel.EventLoopGroup getLowLevelGroup()
      Gets Netty's EventLoopGroup instance
      Returns:
      Netty's EventLoopGroup instance
    • shutdown

      public void shutdown()
      Decreases the reference to underlying EventLoopGroup instance