Interface Strategy

    • Method Detail

      • doSwitch

        <S extends ServiceBase> S doSwitch​(S sOld,
                                           S sNew)
        Performs the switch.
        Type Parameters:
        S - the actual type of the service
        Parameters:
        sOld - the old service instance
        sNew - the new service instance
        Returns:
        the active service