Package org.apache.iotdb.commons.service
Class ThriftServiceThread
- java.lang.Object
-
- java.lang.Thread
-
- org.apache.iotdb.commons.service.AbstractThriftServiceThread
-
- org.apache.iotdb.commons.service.ThriftServiceThread
-
- All Implemented Interfaces:
java.lang.Runnable
public class ThriftServiceThread extends AbstractThriftServiceThread
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.iotdb.commons.service.AbstractThriftServiceThread
AbstractThriftServiceThread.ServerType
-
-
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.TTransportFactorygetTTransportFactory()-
Methods inherited from class org.apache.iotdb.commons.service.AbstractThriftServiceThread
close, getActiveThreadCount, getProtocolFactory, isServing, run, setThreadStopLatch
-
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
-
-
-
-
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
-
-
Method Detail
-
getTTransportFactory
public org.apache.thrift.transport.TTransportFactory getTTransportFactory()
- Specified by:
getTTransportFactoryin classAbstractThriftServiceThread
-
-