Interface Strategy
- All Known Implementing Classes:
AbstractStrategy,StartNewStopOld,StopOldStartNew
public interface Strategy
Encapsulates a switching strategy.
- Author:
- Holger Eichelberger, SSE
-
Method Summary
Modifier and TypeMethodDescription<S extends ServiceBase>
SdoSwitch(S sOld, S sNew) Performs the switch.
-
Method Details
-
doSwitch
Performs the switch.- Type Parameters:
S- the actual type of the service- Parameters:
sOld- the old service instancesNew- the new service instance- Returns:
- the active service
-