public abstract class AbstractSingleThreadEventLoopTest
extends java.lang.Object
| 构造器和说明 |
|---|
AbstractSingleThreadEventLoopTest() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
gracefulShutdownAfterStart() |
protected abstract Channel |
newChannel() |
protected abstract EventLoopGroup |
newEventLoopGroup() |
protected abstract java.lang.Class<? extends ServerChannel> |
serverChannelClass() |
void |
shutdownBeforeStart() |
void |
shutdownGracefullyBeforeStart() |
void |
shutdownGracefullyZeroQuietBeforeStart() |
protected boolean |
supportsChannelIteration() |
void |
testChannelsIterator() |
void |
testChannelsIteratorEmpty() |
void |
testChannelsIteratorRemoveThrows() |
void |
testChannelsRegistered() |
void |
testShutdownGracefullyNoQuietPeriod() |
public void testChannelsRegistered()
throws java.lang.Exception
java.lang.Exceptionpublic void shutdownBeforeStart()
throws java.lang.Exception
java.lang.Exceptionpublic void shutdownGracefullyZeroQuietBeforeStart()
throws java.lang.Exception
java.lang.Exceptionpublic void testShutdownGracefullyNoQuietPeriod()
throws java.lang.Exception
java.lang.Exceptionpublic void shutdownGracefullyBeforeStart()
throws java.lang.Exception
java.lang.Exceptionpublic void gracefulShutdownAfterStart()
throws java.lang.Exception
java.lang.Exceptionpublic void testChannelsIteratorEmpty()
throws java.lang.Exception
java.lang.Exceptionpublic void testChannelsIterator()
throws java.lang.Exception
java.lang.Exceptionpublic void testChannelsIteratorRemoveThrows()
throws java.lang.Exception
java.lang.Exceptionprotected boolean supportsChannelIteration()
protected abstract EventLoopGroup newEventLoopGroup()
protected abstract Channel newChannel()
protected abstract java.lang.Class<? extends ServerChannel> serverChannelClass()