Class ThriftServiceThread

    • Field Summary

      • Fields inherited from class java.lang.Thread

        MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
    • Constructor Summary

      Constructors 
      Constructor Description
      ThriftServiceThread​(org.apache.thrift.TBaseAsyncProcessor<?> processor, java.lang.String serviceName, java.lang.String threadsName, java.lang.String bindAddress, int port, int selectorThreads, int minWorkerThreads, int maxWorkerThreads, int timeoutSecond, org.apache.thrift.server.TServerEventHandler serverEventHandler, boolean compress, int connectionTimeoutInMS, int maxReadBufferBytes, AbstractThriftServiceThread.ServerType serverType)
      for asynced ThriftService.
      ThriftServiceThread​(org.apache.thrift.TProcessor processor, java.lang.String serviceName, java.lang.String threadsName, java.lang.String bindAddress, int port, int maxWorkerThreads, int timeoutSecond, org.apache.thrift.server.TServerEventHandler serverEventHandler, boolean compress)
      for synced ThriftServiceThread
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.apache.thrift.transport.TTransportFactory getTTransportFactory()  
      • Methods inherited from class java.lang.Thread

        activeCount, checkAccess, clone, countStackFrames, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, suspend, toString, yield
      • Methods inherited from class java.lang.Object

        equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • ThriftServiceThread

        public ThriftServiceThread​(org.apache.thrift.TBaseAsyncProcessor<?> processor,
                                   java.lang.String serviceName,
                                   java.lang.String threadsName,
                                   java.lang.String bindAddress,
                                   int port,
                                   int selectorThreads,
                                   int minWorkerThreads,
                                   int maxWorkerThreads,
                                   int timeoutSecond,
                                   org.apache.thrift.server.TServerEventHandler serverEventHandler,
                                   boolean compress,
                                   int connectionTimeoutInMS,
                                   int maxReadBufferBytes,
                                   AbstractThriftServiceThread.ServerType serverType)
        for asynced ThriftService.
      • ThriftServiceThread

        public ThriftServiceThread​(org.apache.thrift.TProcessor processor,
                                   java.lang.String serviceName,
                                   java.lang.String threadsName,
                                   java.lang.String bindAddress,
                                   int port,
                                   int maxWorkerThreads,
                                   int timeoutSecond,
                                   org.apache.thrift.server.TServerEventHandler serverEventHandler,
                                   boolean compress)
        for synced ThriftServiceThread