public class ThriftServer extends Object
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.storm.thrift.TProcessor |
processor |
| Constructor and Description |
|---|
ThriftServer(Map<String,Object> conf,
org.apache.storm.thrift.TProcessor processor,
ThriftConnectionType type) |
| Modifier and Type | Method and Description |
|---|---|
int |
getPort() |
boolean |
isServing() |
void |
serve() |
void |
stop() |
boolean |
supportsWorkerTokens()
Check if worker tokens are supported by this thrift server.
|
public ThriftServer(Map<String,Object> conf, org.apache.storm.thrift.TProcessor processor, ThriftConnectionType type)
public void stop()
public boolean isServing()
public void serve()
public int getPort()
public boolean supportsWorkerTokens()
Check if worker tokens are supported by this thrift server.
Copyright © 2019 The Apache Software Foundation. All rights reserved.