Package org.apache.pinot.spi.services
Interface ServiceStartable
-
public interface ServiceStartableServiceStartable is the general interface to manage a Pinot instance lifecycle for a specific ServiceRole. E.g. Controller/Broker/Server/Minion.
-
-
Method Summary
Modifier and Type Method Description PinotConfigurationgetConfig()StringgetInstanceId()ServiceRolegetServiceRole()voidinit(PinotConfiguration conf)voidstart()voidstop()
-
-
-
Method Detail
-
init
void init(PinotConfiguration conf) throws Exception
- Throws:
Exception
-
getServiceRole
ServiceRole getServiceRole()
-
getInstanceId
String getInstanceId()
-
getConfig
PinotConfiguration getConfig()
-
stop
void stop()
-
-