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()
Check whether serving.
public void serve()
public int getPort()
Get port.
public boolean supportsWorkerTokens()
Check if worker tokens are supported by this thrift server.
Copyright © 2022 The Apache Software Foundation. All rights reserved.