Package org.apache.iotdb.db.service
Class DataNode
- java.lang.Object
-
- org.apache.iotdb.db.service.DataNode
-
- All Implemented Interfaces:
DataNodeMBean
public class DataNode extends java.lang.Object implements DataNodeMBean
-
-
Field Summary
Fields Modifier and Type Field Description static ServiceProviderserviceProvider
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voiddoAddNode()static DataNodegetInstance()booleaninitLocalEngines()initialize the current node and its servicesstatic voidmain(java.lang.String[] args)protected voidserverCheckAndInit()voidstop()
-
-
-
Field Detail
-
serviceProvider
public static ServiceProvider serviceProvider
-
-
Method Detail
-
getInstance
public static DataNode getInstance()
-
main
public static void main(java.lang.String[] args)
-
serverCheckAndInit
protected void serverCheckAndInit() throws org.apache.iotdb.commons.exception.ConfigurationException, java.io.IOException- Throws:
org.apache.iotdb.commons.exception.ConfigurationExceptionjava.io.IOException
-
doAddNode
protected void doAddNode()
-
initLocalEngines
public boolean initLocalEngines()
initialize the current node and its services
-
stop
public void stop()
-
-