Class VersionCheckAction

    • Method Detail

      • perform

        public boolean perform​(RessorService target)
        Description copied from interface: ReloadAction
        The action which should be performed on the target service prior to reload. The result is decision, whether the reloading should be performed or not.

        It's guaranteed that target service state (version) is constant during the action execution and RessorService.isReloading() on target will always return true.

        Please make sure that long running actions can slow down or even block the service reloading process, which can have a negative impact on the overall system performance.

        The implementations are not expected to throw any exceptions, only the resulting continuation flag.

        target - target Ressor service which triggers this action
        true if the reload operation can be continued, otherwise false