backtype.storm.security.auth
Class ThriftServer
java.lang.Object
backtype.storm.security.auth.ThriftServer
public class ThriftServer
- extends Object
|
Field Summary |
protected org.apache.thrift.TProcessor |
_processor
|
|
Constructor Summary |
ThriftServer(Map storm_conf,
org.apache.thrift.TProcessor processor,
int port)
|
|
Method Summary |
boolean |
isServing()
Is ThriftServer listening to requests? |
void |
serve()
|
void |
stop()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_processor
protected org.apache.thrift.TProcessor _processor
ThriftServer
public ThriftServer(Map storm_conf,
org.apache.thrift.TProcessor processor,
int port)
stop
public void stop()
isServing
public boolean isServing()
- Is ThriftServer listening to requests?
- Returns:
serve
public void serve()
Copyright © 2014 The Apache Software Foundation. All Rights Reserved.