com.ibm.commerce.experimentation.commands

Class ExperimentCheckExpiryCmdImpl

    • Field Detail

      • COPYRIGHT

        public static final java.lang.String COPYRIGHT
        IBM copyright notice field.
        See Also:
        Constant Field Values
    • Constructor Detail

      • ExperimentCheckExpiryCmdImpl

        public ExperimentCheckExpiryCmdImpl()
    • Method Detail

      • performExecute

        public void performExecute()
                            throws ECException
        The performExecute method is called by the scheduler to check if any experiments are expired or not, based on their end date and expiry count. If an experiment is currently active and its end date has passed, or its expiry count has been reached, its status will be changed to inactive. Similarly, if an experiment is currently inactive and its end date has not passed and its expiry count has not been exceeded, its status will be changed to active. The experiment cache registry will be refreshed to reflect any experiment status changes.
        Specified by:
        performExecute in interface ECCommand
        Specified by:
        performExecute in interface com.ibm.websphere.command.TargetableCommand
        Overrides:
        performExecute in class AbstractECTargetableCommand
        Throws:
        ECException - Thrown when an exception is encountered during database operation performed in this method.