Phants Client for Redis™*
Public Member Functions | List of all members
XpendingOptions Class Reference

Public Member Functions

void SetRange (string start, string end, int count)
 
void ClearRange ()
 
void SetConsumer (string consumer)
 
void ClearConsumer ()
 

Detailed Description

Options class used by the Xpending() method.

Member Function Documentation

void ClearConsumer ( )
inline

Clears/unsets the consumer.

The consumer name will be omitted from the command.

void ClearRange ( )
inline

Clears/unsets the range.

The start/end/count values will be omitted from the command.

void SetConsumer ( string  consumer)
inline

Set the name of a consumer whose pending messages are returned.

Parameters
consumerThe name of the consumer.
void SetRange ( string  start,
string  end,
int  count 
)
inline

Set the start/end range of IDs as well as a count specifying the number of messages to return.

Parameters
startStart ID of the range.
endEnd ID of the range.
countThe number of items to return.

The documentation for this class was generated from the following file: