| 限定符和类型 | 字段和说明 |
|---|---|
protected List<ServerConfig> |
ProviderConfig.server
配置的协议列表
|
| 限定符和类型 | 方法和说明 |
|---|---|
ServerConfig |
ServerConfig.setAccepts(int accepts)
Sets accepts.
|
ServerConfig |
ServerConfig.setAdaptivePort(boolean adaptivePort)
Sets adaptive port.
|
ServerConfig |
ServerConfig.setAliveTime(int aliveTime)
Sets alive time.
|
ServerConfig |
ServerConfig.setAutoStart(boolean autoStart)
Sets auto start.
|
ServerConfig |
ServerConfig.setBoundHost(String boundHost)
Sets bound host.
|
ServerConfig |
ServerConfig.setContextPath(String contextPath)
Sets context path.
|
ServerConfig |
ServerConfig.setCoreThreads(int coreThreads)
Sets core threads.
|
ServerConfig |
ServerConfig.setDaemon(boolean daemon)
Sets daemon.
|
ServerConfig |
ServerConfig.setDispatcher(String dispatcher)
Sets dispatcher.
|
ServerConfig |
ServerConfig.setEpoll(boolean epoll)
Sets epoll.
|
ServerConfig |
ServerConfig.setHost(String host)
Sets host.
|
ServerConfig |
ServerConfig.setIoThreads(int ioThreads)
Sets ioThreads.
|
ServerConfig |
ServerConfig.setMaxThreads(int maxThreads)
Sets max threads.
|
ServerConfig |
ServerConfig.setOnConnect(List<ChannelListener> onConnect)
Sets onConnect.
|
ServerConfig |
ServerConfig.setParameters(Map<String,String> parameters)
Sets parameters.
|
ServerConfig |
ServerConfig.setPayload(int payload)
Sets payload.
|
ServerConfig |
ServerConfig.setPort(int port)
Sets port.
|
ServerConfig |
ServerConfig.setPreStartCore(boolean preStartCore)
Sets pre start core.
|
ServerConfig |
ServerConfig.setProtocol(String protocol)
Sets protocol.
|
ServerConfig |
ServerConfig.setQueues(int queues)
Sets queues.
|
ServerConfig |
ServerConfig.setQueueType(String queueType)
Sets queue type.
|
ServerConfig |
ServerConfig.setSerialization(String serialization)
Sets serialization.
|
ServerConfig |
ServerConfig.setStopTimeout(int stopTimeout)
Sets stop timeout.
|
ServerConfig |
ServerConfig.setTelnet(boolean telnet)
Sets telnet.
|
ServerConfig |
ServerConfig.setThreadPoolType(String threadPoolType)
Sets threadPoolType.
|
ServerConfig |
ServerConfig.setTransport(String transport)
Sets transport.
|
ServerConfig |
ServerConfig.setVirtualHost(String virtualHost)
Sets virtualHost.
|
ServerConfig |
ServerConfig.setVirtualPort(Integer virtualPort)
Sets virtual port.
|
| 限定符和类型 | 方法和说明 |
|---|---|
List<ServerConfig> |
ProviderConfig.getServer()
Gets server.
|
| 限定符和类型 | 方法和说明 |
|---|---|
ProviderConfig<T> |
ProviderConfig.setServer(ServerConfig server)
add server.
|
| 限定符和类型 | 方法和说明 |
|---|---|
ProviderConfig<T> |
ProviderConfig.setServer(List<ServerConfig> server)
Sets server.
|
| 限定符和类型 | 方法和说明 |
|---|---|
ServerConfig |
ServerStoppedEvent.getServerConfig() |
ServerConfig |
ServerStartedEvent.getServerConfig() |
| 构造器和说明 |
|---|
ServerStartedEvent(ServerConfig serverConfig,
ThreadPoolExecutor threadPoolExecutor) |
ServerStoppedEvent(ServerConfig serverConfig) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
RpcLookout.collectThreadPool(ServerConfig serverConfig,
ThreadPoolExecutor threadPoolExecutor)
Collect the thread pool information
|
com.alipay.lookout.api.Id |
RpcLookoutId.getServerThreadConfigId(ServerConfig serverConfig) |
com.alipay.lookout.api.Id |
RpcLookoutId.getServerThreadPoolActiveCountId(ServerConfig serverConfig) |
com.alipay.lookout.api.Id |
RpcLookoutId.getServerThreadPoolIdleCountId(ServerConfig serverConfig) |
com.alipay.lookout.api.Id |
RpcLookoutId.getServerThreadPoolQueueSizeId(ServerConfig serverConfig) |
com.alipay.lookout.api.Id |
RpcLookoutId.removeServerThreadConfigId(ServerConfig serverConfig) |
com.alipay.lookout.api.Id |
RpcLookoutId.removeServerThreadPoolActiveCountId(ServerConfig serverConfig) |
com.alipay.lookout.api.Id |
RpcLookoutId.removeServerThreadPoolIdleCountId(ServerConfig serverConfig) |
com.alipay.lookout.api.Id |
RpcLookoutId.removeServerThreadPoolQueueSizeId(ServerConfig serverConfig) |
void |
RpcLookout.removeThreadPool(ServerConfig serverConfig)
remove the thread pool information
|
| 限定符和类型 | 方法和说明 |
|---|---|
static ProviderInfo |
LocalRegistryHelper.convertProviderToProviderInfo(ProviderConfig config,
ServerConfig server)
转为服务端提供者对象
|
| 限定符和类型 | 方法和说明 |
|---|---|
static Server |
ServerFactory.getServer(ServerConfig serverConfig)
初始化Server实例
|
void |
Server.init(ServerConfig serverConfig)
启动server端
|
static ThreadPoolExecutor |
BusinessPool.initPool(ServerConfig serverConfig) |
| 限定符和类型 | 字段和说明 |
|---|---|
protected ServerConfig |
BoltServer.serverConfig
服务端配置
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
BoltServer.init(ServerConfig serverConfig) |
protected ThreadPoolExecutor |
BoltServer.initThreadPool(ServerConfig serverConfig) |
| 限定符和类型 | 字段和说明 |
|---|---|
protected ServerConfig |
AbstractHttpServer.serverConfig
服务端配置
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
AbstractHttpServer.init(ServerConfig serverConfig) |
protected ThreadPoolExecutor |
AbstractHttpServer.initThreadPool(ServerConfig serverConfig) |
| 限定符和类型 | 字段和说明 |
|---|---|
protected ServerConfig |
RestServer.serverConfig
服务端配置
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
RestServer.init(ServerConfig serverConfig) |
Copyright © 2008–2018 The Ant Financial. All rights reserved.