resetProcessedMessages | R Documentation |
The MessageQueue
class uses the processed field of the P4Message
object to
indicate which messages have been processed. This method clears the processed flag, so that messages
can be reprocessed.
resetProcessedMessages(queue, repquery)
## S4 method for signature 'MongoQueue'
resetProcessedMessages(queue, repquery)
## S4 method for signature 'ListQueue'
resetProcessedMessages(queue, repquery)
queue |
An object of class |
repquery |
A list giving a mongo query (see |
When operating on a MongoQueue
, an update query is run which sets the processed
field of the messages to FALSE
. The repquery
is used to unmark a subset of messages.
For the ListQueue
method, all messages are unmarked regardless of the query.
Function run for side effects, result is status information.
The current ListQueue
implementation is pretty minimal, and will probably get updated.
Russell Almond
MessageQueue
, markAsProcessed
, fetchNextMessage
## Writeme
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.