com.ibm.commerce.marketing.facade.server.commands

Class ProcessMarketingTriggerSaveStatisticsActionCmdImpl

  • All Implemented Interfaces:
    AbstractProcessNounActionCmd, ProcessMarketingTriggerActionCmd, com.ibm.websphere.cache.Sizeable, com.ibm.websphere.command.CacheableCommand, com.ibm.websphere.command.Command, com.ibm.websphere.command.CommandCaller, com.ibm.websphere.command.TargetableCommand, java.io.Serializable


    public class ProcessMarketingTriggerSaveStatisticsActionCmdImpl
    extends ProcessMarketingTriggerActionCmdImpl
    implements ProcessMarketingTriggerActionCmd
    This command persists the accumulated eMarketing Spot and campaign element statistics to the database. This command is called by a scheduled job that periodically runs to persist the in memory statistics. As well, when this command runs, it will check the DMEXPLOG database table and delete any entries which are no longer required. Entries are no longer required when:
    • If the experiment has a session length, the maximum session length of all experiments is used. If the experiment log entry creation time is older than (current time - maximum session length + the RaiseECEvent frequency), then it is deleted.
    • If the experiment does not have a session length, the default session length for experiments is used. If the experiment log entry creation time is older than (current time - default session length + the RaiseECEvent frequency), then it is deleted.
    The default session length and the RaiseECEvent frequency is set in the wc-admin-component.xml configuration file.
    See Also:
    Serialized Form
    • Constructor Detail

      • ProcessMarketingTriggerSaveStatisticsActionCmdImpl

        public ProcessMarketingTriggerSaveStatisticsActionCmdImpl()
    • Method Detail

      • performExecute

        public void performExecute()
                            throws java.lang.Exception
        This method calls the marketing runtime to persist the accumulated eMarketing Spot and campaign element statistics to the database.
        Specified by:
        performExecute in interface com.ibm.websphere.command.TargetableCommand
        Overrides:
        performExecute in class ProcessMarketingTriggerActionCmdImpl
        Throws:
        java.lang.Exception