Class ThriftServer


  • public class ThriftServer
    extends Object
    • Field Detail

      • processor

        protected final org.apache.storm.thrift.TProcessor processor
    • Method Detail

      • stop

        public void stop()
      • isServing

        public boolean isServing()
        Check whether serving.
        Returns:
        true if ThriftServer is listening to requests?
      • serve

        public void serve()
      • getPort

        public int getPort()
        Get port.
        Returns:
        The port this server is/will be listening on
      • supportsWorkerTokens

        public boolean supportsWorkerTokens()
        Check if worker tokens are supported by this thrift server.
        Returns:
        true if they are else false.
      • getProcessor

        public org.apache.storm.thrift.TProcessor getProcessor()