public class InVMConnector extends AbstractConnector
Modifier and Type | Field and Description |
---|---|
protected OrderedExecutorFactory |
executorFactory |
static boolean |
failOnCreateConnection |
protected int |
id |
static int |
numberOfFailures |
configuration
Constructor and Description |
---|
InVMConnector(Map<String,Object> configuration,
BufferHandler handler,
ConnectionLifeCycleListener listener,
Executor closeExecutor,
Executor threadPool) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
Connection |
createConnection() |
void |
disconnect(String connectionID) |
Acceptor |
getAcceptor() |
BufferHandler |
getHandler() |
protected Connection |
internalCreateConnection(BufferHandler handler,
ConnectionLifeCycleListener listener,
Executor serverExecutor) |
boolean |
isEquivalent(Map<String,Object> configuration) |
boolean |
isStarted() |
static void |
resetFailures() |
void |
start() |
public static volatile boolean failOnCreateConnection
public static volatile int numberOfFailures
protected final int id
protected final OrderedExecutorFactory executorFactory
public InVMConnector(Map<String,Object> configuration, BufferHandler handler, ConnectionLifeCycleListener listener, Executor closeExecutor, Executor threadPool)
public static void resetFailures()
public Acceptor getAcceptor()
public void close()
public boolean isStarted()
public Connection createConnection()
public void start()
public BufferHandler getHandler()
public void disconnect(String connectionID)
protected Connection internalCreateConnection(BufferHandler handler, ConnectionLifeCycleListener listener, Executor serverExecutor)
Copyright © 2017 JBoss, a division of Red Hat. All Rights Reserved.