Class RunStateServiceImpl
- java.lang.Object
-
- org.streamingpool.core.rx.process.RunStateServiceImpl
-
- All Implemented Interfaces:
RunStateService
public class RunStateServiceImpl extends java.lang.Object implements RunStateService
-
-
Constructor Summary
Constructors Constructor Description RunStateServiceImpl()RunStateServiceImpl(RunState initialState)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description io.reactivex.Flowable<RunState>asObservable()RunStategetRunState()voidswitchTo(RunState newState)
-
-
-
Constructor Detail
-
RunStateServiceImpl
public RunStateServiceImpl()
-
RunStateServiceImpl
public RunStateServiceImpl(RunState initialState)
-
-
Method Detail
-
getRunState
public RunState getRunState()
- Specified by:
getRunStatein interfaceRunStateService
-
switchTo
public void switchTo(RunState newState)
- Specified by:
switchToin interfaceRunStateService
-
asObservable
public io.reactivex.Flowable<RunState> asObservable()
- Specified by:
asObservablein interfaceRunStateService
-
-