public class InVMConnector
extends org.apache.activemq.artemis.spi.core.remoting.AbstractConnector
| Modifier and Type | Field and Description |
|---|---|
static Map<String,Object> |
DEFAULT_CONFIG |
protected org.apache.activemq.artemis.utils.OrderedExecutorFactory |
executorFactory |
static boolean |
failOnCreateConnection |
protected int |
id |
static int |
numberOfFailures |
| Constructor and Description |
|---|
InVMConnector(Map<String,Object> configuration,
org.apache.activemq.artemis.spi.core.remoting.BufferHandler handler,
org.apache.activemq.artemis.spi.core.remoting.ClientConnectionLifeCycleListener listener,
Executor closeExecutor,
Executor threadPool,
org.apache.activemq.artemis.spi.core.remoting.ClientProtocolManager protocolManager) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
org.apache.activemq.artemis.spi.core.remoting.Connection |
createConnection() |
void |
disconnect(String connectionID) |
Acceptor |
getAcceptor() |
org.apache.activemq.artemis.spi.core.remoting.BufferHandler |
getHandler() |
protected org.apache.activemq.artemis.spi.core.remoting.Connection |
internalCreateConnection(org.apache.activemq.artemis.spi.core.remoting.BufferHandler handler,
org.apache.activemq.artemis.spi.core.remoting.ClientConnectionLifeCycleListener listener,
Executor serverExecutor) |
boolean |
isEquivalent(Map<String,Object> configuration) |
boolean |
isStarted() |
static void |
resetFailures() |
static void |
resetThreadPool() |
void |
start() |
public static volatile boolean failOnCreateConnection
public static volatile int numberOfFailures
protected final int id
protected final org.apache.activemq.artemis.utils.OrderedExecutorFactory executorFactory
public InVMConnector(Map<String,Object> configuration, org.apache.activemq.artemis.spi.core.remoting.BufferHandler handler, org.apache.activemq.artemis.spi.core.remoting.ClientConnectionLifeCycleListener listener, Executor closeExecutor, Executor threadPool, org.apache.activemq.artemis.spi.core.remoting.ClientProtocolManager protocolManager)
public static void resetFailures()
public static void resetThreadPool()
public Acceptor getAcceptor()
public void close()
public boolean isStarted()
public org.apache.activemq.artemis.spi.core.remoting.Connection createConnection()
public void start()
public org.apache.activemq.artemis.spi.core.remoting.BufferHandler getHandler()
public void disconnect(String connectionID)
protected org.apache.activemq.artemis.spi.core.remoting.Connection internalCreateConnection(org.apache.activemq.artemis.spi.core.remoting.BufferHandler handler,
org.apache.activemq.artemis.spi.core.remoting.ClientConnectionLifeCycleListener listener,
Executor serverExecutor)
Copyright © 2023 The Apache Software Foundation. All rights reserved.