Class ConfigNodeRPCService
java.lang.Object
org.apache.iotdb.commons.service.ThriftService
org.apache.iotdb.confignode.service.thrift.ConfigNodeRPCService
- All Implemented Interfaces:
IService,ConfigNodeRPCServiceMBean
ConfigNodeRPCServer exposes the interface that interacts with the DataNode
-
Field Summary
Fields inherited from class org.apache.iotdb.commons.service.ThriftService
mbeanName, processor, STATUS_DOWN, STATUS_UP, thriftServiceThread -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetID()voidinitSyncedServiceImpl(Object configNodeRPCServerProcessor) voidvoidMethods inherited from class org.apache.iotdb.commons.service.ThriftService
getRPCServiceStatus, initAsyncServiceImpl, restartService, start, startService, stop, stopServiceMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.iotdb.commons.service.IService
shutdown, waitAndStop
-
Constructor Details
-
ConfigNodeRPCService
public ConfigNodeRPCService()
-
-
Method Details
-
getID
-
initSyncedServiceImpl
- Overrides:
initSyncedServiceImplin classThriftService
-
initTProcessor
- Specified by:
initTProcessorin classThriftService- Throws:
InstantiationException
-
initThriftServiceThread
- Specified by:
initThriftServiceThreadin classThriftService- Throws:
IllegalAccessException
-
getBindIP
- Specified by:
getBindIPin classThriftService
-
getBindPort
public int getBindPort()- Specified by:
getBindPortin classThriftService
-