RedisSMQ / Docs / API Reference / QueueMessages
-
QueueMessagesPaginatorSet
↳
QueueMessages
• new QueueMessages(): QueueMessages
QueueMessagesPaginatorSet.constructor
▸ countMessages(queue
, cb
): void
Name | Type |
---|---|
queue |
TQueueExtendedParams |
cb |
ICallback <number > |
void
QueueMessagesPaginatorSet.countMessages
▸ countMessagesByStatus(queue
, cb
): void
Name | Type |
---|---|
queue |
string | IQueueParams |
cb |
ICallback <IQueueMessagesCount > |
void
▸ getMessages(queue
, page
, pageSize
, cb
): void
Name | Type |
---|---|
queue |
TQueueExtendedParams |
page |
number |
pageSize |
number |
cb |
ICallback <IQueueMessagesPage <IMessageTransferable >> |
void
QueueMessagesPaginatorSet.getMessages
▸ purge(queue
, cb
): void
Name | Type |
---|---|
queue |
TQueueExtendedParams |
cb |
ICallback <void > |
void
QueueMessagesPaginatorSet.purge
▸ shutdown(cb
): void
Name | Type |
---|---|
cb |
ICallback <void > |
void
QueueMessagesPaginatorSet.shutdown