Class TSaslNonblockingServer

java.lang.Object
org.apache.thrift.server.TServer
org.apache.thrift.server.TSaslNonblockingServer

public class TSaslNonblockingServer extends TServer
TServer with sasl support, using asynchronous execution and nonblocking io.
  • Constructor Details

  • Method Details

    • serve

      public void serve()
      Description copied from class: TServer
      The run method fires up the server and gets things going.
      Specified by:
      serve in class TServer
    • stop

      public void stop()
      Trigger a graceful shutdown, but it does not block to wait for the shutdown to finish.
      Overrides:
      stop in class TServer
    • shutdown

      public void shutdown() throws InterruptedException
      Gracefully shut down the server and block until all threads are stopped.
      Throws:
      InterruptedException - if is interrupted while waiting for shutdown.