public abstract class AbstractSingleThreadEventLoopTest extends Object
| Constructor and Description |
|---|
AbstractSingleThreadEventLoopTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
gracefulShutdownAfterStart() |
protected abstract io.netty.channel.Channel |
newChannel() |
protected abstract io.netty.channel.EventLoopGroup |
newEventLoopGroup() |
protected abstract Class<? extends io.netty.channel.ServerChannel> |
serverChannelClass() |
void |
shutdownBeforeStart() |
void |
shutdownGracefullyBeforeStart() |
void |
shutdownGracefullyZeroQuietBeforeStart() |
protected boolean |
supportsChannelIteration() |
void |
testChannelsIterator() |
void |
testChannelsIteratorEmpty() |
void |
testChannelsIteratorRemoveThrows() |
void |
testChannelsRegistered() |
void |
testShutdownGracefullyNoQuietPeriod() |
@Test
@Timeout(value=5000L,
unit=MILLISECONDS)
public void testChannelsRegistered()
throws Exception
Exception@Test
public void shutdownGracefullyZeroQuietBeforeStart()
throws Exception
Exception@Test
@Timeout(value=5000L,
unit=MILLISECONDS)
public void testShutdownGracefullyNoQuietPeriod()
throws Exception
Exception@Test
public void shutdownGracefullyBeforeStart()
throws Exception
Exception@Test
public void gracefulShutdownAfterStart()
throws Exception
Exception@Test
@Timeout(value=3000L,
unit=MILLISECONDS)
public void testChannelsIteratorEmpty()
throws Exception
Exception@Test
@Timeout(value=3000L,
unit=MILLISECONDS)
public void testChannelsIterator()
throws Exception
Exception@Test
@Timeout(value=3000L,
unit=MILLISECONDS)
public void testChannelsIteratorRemoveThrows()
throws Exception
Exceptionprotected boolean supportsChannelIteration()
protected abstract io.netty.channel.EventLoopGroup newEventLoopGroup()
protected abstract io.netty.channel.Channel newChannel()
protected abstract Class<? extends io.netty.channel.ServerChannel> serverChannelClass()
Copyright © 2008–2025 The Netty Project. All rights reserved.