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()
Get port.
|
boolean |
isServing()
Check whether serving.
|
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()
Copyright © 2023 The Apache Software Foundation. All rights reserved.