Package org.apache.iotdb.commons.service
Class RegisterManager
- java.lang.Object
-
- org.apache.iotdb.commons.service.RegisterManager
-
public class RegisterManager extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description RegisterManager()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidderegisterAll()stop all service and clear iService list.voidregister(IService service)register service.static voidsetDeregisterTimeOut(long deregisterTimeOut)voidshutdownAll()stop all service and clear iService list.
-
-
-
Method Detail
-
register
public void register(IService service) throws StartupException
register service.- Throws:
StartupException
-
deregisterAll
public void deregisterAll()
stop all service and clear iService list.
-
shutdownAll
public void shutdownAll() throws ShutdownExceptionstop all service and clear iService list.- Throws:
ShutdownException
-
setDeregisterTimeOut
public static void setDeregisterTimeOut(long deregisterTimeOut)
-
-