com.liferay.portal.fabric.netty.server
Class NettyFabricServer
java.lang.Object
com.liferay.portal.fabric.netty.server.NettyFabricServer
- All Implemented Interfaces:
- FabricServer
public class NettyFabricServer
- extends Object
- implements FabricServer
|
Method Summary |
protected io.netty.util.concurrent.EventExecutorGroup |
getEventExecutorGroup(io.netty.channel.Channel channel,
io.netty.util.AttributeKey<io.netty.util.concurrent.EventExecutorGroup> attributeKey)
|
protected void |
shutdownEventExecutorGroup(io.netty.channel.Channel channel,
io.netty.util.AttributeKey<? extends io.netty.util.concurrent.EventExecutorGroup> attributeKey)
|
void |
start()
|
void |
stop()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NettyFabricServer
public NettyFabricServer(FabricAgentRegistry fabricAgentRegistry,
NettyFabricServerConfig nettyFabricServerConfig)
start
public void start()
throws Exception
- Specified by:
start in interface FabricServer
- Throws:
Exception
stop
public void stop()
throws InterruptedException
- Specified by:
stop in interface FabricServer
- Throws:
InterruptedException
getEventExecutorGroup
protected io.netty.util.concurrent.EventExecutorGroup getEventExecutorGroup(io.netty.channel.Channel channel,
io.netty.util.AttributeKey<io.netty.util.concurrent.EventExecutorGroup> attributeKey)
shutdownEventExecutorGroup
protected void shutdownEventExecutorGroup(io.netty.channel.Channel channel,
io.netty.util.AttributeKey<? extends io.netty.util.concurrent.EventExecutorGroup> attributeKey)