public interface ServerConnectorMBean extends MessageConnectorMBean
AbstractMessageConnector
.Modifier and Type | Method and Description |
---|---|
String |
closeConnections(double percent,
String period,
boolean stopAcceptor)
Gracefully close the percentage of connections within period of time
|
String |
getBindAddr()
Network interface address to bind socket to
|
int |
getLocalPort()
Local TCP/IP port
|
int |
getMaxConnections()
Max number of connections
|
boolean |
isAccepting()
Checks whether the connection can be accepted
|
void |
setBindAddr(String bindAddress) |
void |
setLocalPort(int port) |
void |
setMaxConnections(int maxConnections) |
void |
stopAcceptor()
Stop accepting new connections
|
String |
stopGracefully(String period)
Stop connector gracefully within period of time
|
getAddress, getConnectionCount, getEndpointStats, getFieldReplacer, getName, getPassword, getReconnectDelay, getState, getThreadPriority, getUser, isActive, reconnect, resetEndpointStats, restart, retrieveCompleteEndpointStats, setFieldReplacer, setName, setPassword, setReconnectDelay, setThreadPriority, setUser, start, stop
int getLocalPort()
void setLocalPort(int port)
String getBindAddr()
void setBindAddr(String bindAddress) throws UnknownHostException
UnknownHostException
int getMaxConnections()
void setMaxConnections(int maxConnections)
boolean isAccepting()
void stopAcceptor()
Copyright © 2002–2025 Devexperts LLC. All rights reserved.