Package org.apache.fluo.api.service
Interface FluoService
-
- All Known Subinterfaces:
FluoOracle
,FluoWorker
public interface FluoService
Shared interface for Fluo services- Since:
- 1.0.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
start()
Starts service.void
stop()
Stops service cleanly.
-
-
-
Method Detail
-
start
void start()
Starts service. Waits until service has started before returning.- Throws:
FluoException
- if service fails to start
-
stop
void stop()
Stops service cleanly. Waits until service has stopped before returning.- Throws:
FluoException
- if service has failed or failure occurs while stopping.
-
-