Class ThriftServer

java.lang.Object
org.apache.storm.security.auth.ThriftServer

public class ThriftServer extends Object
  • Field Details

    • processor

      protected final org.apache.storm.thrift.TProcessor processor
  • Constructor Details

  • Method Details

    • 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.