com.ibm.commerce.scheduler.commands

Class CheckForWorkGenericImpl

  • All Implemented Interfaces:
    com.ibm.commerce.command.CacheableECCommand, ECCommand, ECTargetableCommand, TaskCommand, CheckForWorkCmd, 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 CheckForWorkGenericImpl
    extends TaskCommandImpl
    implements CheckForWorkCmd
    Generic scheduler check command that implements the CheckForWorkCmd interface and will always indicate that work will need to be done.
    See Also:
    Serialized Form
    • Constructor Detail

      • CheckForWorkGenericImpl

        public CheckForWorkGenericImpl()
        Creates the generic check for work task command.
    • Method Detail

      • checkProcessingNeeded

        public boolean checkProcessingNeeded()
        Will always indicate that work needs to be done by returning true.
        Specified by:
        checkProcessingNeeded in interface CheckForWorkCmd
        Returns:
        Always return a true value.
      • setStoreId

        public void setStoreId(java.lang.Integer storeId)
        Empty method which does not do anything because the result is always true.
        Specified by:
        setStoreId in interface CheckForWorkCmd
        Parameters:
        storeId - the store id.