public abstract static class TcpipServerChannel.TcpipFactory extends Object implements ChannelFactory, ExecutorServiceCarrier
NamedFactory.Utils
BY_NAME_COMPARATOR, NAME_EXTRACTOR
Modifier | Constructor and Description |
---|---|
protected |
TcpipFactory(ForwardingFilter.Type type) |
Modifier and Type | Method and Description |
---|---|
Channel |
create() |
ExecutorService |
getExecutorService() |
String |
getName() |
ForwardingFilter.Type |
getType() |
boolean |
isShutdownOnExit() |
protected TcpipFactory(ForwardingFilter.Type type)
public final ForwardingFilter.Type getType()
public final String getName()
getName
in interface NamedResource
public ExecutorService getExecutorService()
getExecutorService
in interface ExecutorServiceCarrier
public boolean isShutdownOnExit()
isShutdownOnExit
in interface ExecutorServiceCarrier
true
then the ExecutorService.shutdownNow()
will be called (unless it is an internally allocated service which is always
closed)Copyright © 2008–2016 The Apache Software Foundation. All rights reserved.