public class ServeRunner extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
private Rpc |
rpc |
private ExecutorService |
SERVER_RUNNER_POOL |
private ServiceInfo |
serviceInfo |
private org.apache.thrift.server.TServer |
tserver |
private static long |
UPDATE_DELAY |
| 构造器和说明 |
|---|
ServeRunner() |
| 限定符和类型 | 方法和说明 |
|---|---|
private void |
initServer() |
boolean |
isServing() |
ServeRunner |
setIface(Rpc rpc) |
ServeRunner |
setServiceInfo(ServiceInfo serviceInfo) |
void |
start() |
void |
stop() |
private static final long UPDATE_DELAY
private final ExecutorService SERVER_RUNNER_POOL
private org.apache.thrift.server.TServer tserver
private ServiceInfo serviceInfo
private Rpc rpc
public ServeRunner setServiceInfo(ServiceInfo serviceInfo)
public ServeRunner setIface(Rpc rpc)
private void initServer()
public void start()
public boolean isServing()
public void stop()
Copyright © 2021. All rights reserved.