Package org.apache.iotdb.db.service
Class InfluxDBRPCService
- java.lang.Object
-
- org.apache.iotdb.commons.service.ThriftService
-
- org.apache.iotdb.db.service.InfluxDBRPCService
-
- All Implemented Interfaces:
org.apache.iotdb.commons.service.IService,InfluxDBRPCServiceMBean,RPCServiceMBean
public class InfluxDBRPCService extends org.apache.iotdb.commons.service.ThriftService implements InfluxDBRPCServiceMBean
-
-
Constructor Summary
Constructors Constructor Description InfluxDBRPCService()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetBindIP()intgetBindPort()org.apache.iotdb.commons.service.ServiceTypegetID()static InfluxDBRPCServicegetInstance()intgetRPCPort()voidinitThriftServiceThread()voidinitTProcessor()-
Methods inherited from class org.apache.iotdb.commons.service.ThriftService
getRPCServiceStatus, initAsyncedServiceImpl, initSyncedServiceImpl, restartService, start, startService, stop, stopService
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.iotdb.db.service.RPCServiceMBean
getRPCServiceStatus, restartService, startService, stopService
-
-
-
-
Method Detail
-
getInstance
public static InfluxDBRPCService getInstance()
-
initTProcessor
public void initTProcessor() throws java.lang.ClassNotFoundException, java.lang.IllegalAccessException, java.lang.InstantiationException- Specified by:
initTProcessorin classorg.apache.iotdb.commons.service.ThriftService- Throws:
java.lang.ClassNotFoundExceptionjava.lang.IllegalAccessExceptionjava.lang.InstantiationException
-
initThriftServiceThread
public void initThriftServiceThread() throws java.lang.IllegalAccessException- Specified by:
initThriftServiceThreadin classorg.apache.iotdb.commons.service.ThriftService- Throws:
java.lang.IllegalAccessException
-
getBindIP
public java.lang.String getBindIP()
- Specified by:
getBindIPin classorg.apache.iotdb.commons.service.ThriftService
-
getBindPort
public int getBindPort()
- Specified by:
getBindPortin classorg.apache.iotdb.commons.service.ThriftService
-
getRPCPort
public int getRPCPort()
- Specified by:
getRPCPortin interfaceRPCServiceMBean
-
getID
public org.apache.iotdb.commons.service.ServiceType getID()
- Specified by:
getIDin interfaceorg.apache.iotdb.commons.service.IService
-
-