Class PurgeMessagesOnTrashPollingTask

    • Constructor Detail

      • PurgeMessagesOnTrashPollingTask

        public PurgeMessagesOnTrashPollingTask()
    • Method Detail

      • getMessageKey

        public MessageKey getMessageKey()
      • execute

        protected long execute()
                        throws Throwable
        Description copied from class: SimplePollingTask
        Executes the task batch. This method must be idempotent, which means that subsequent invocations should not cause side effects. For example, a task could expire data up to the current hour. If executed several times within any given hour, only the first execution should change data, while others should not affect anything. Should return the number of affected records
        Specified by:
        execute in class SimplePollingTask
        Throws:
        Throwable