Méthode | Description | |
---|---|---|
Clear ( ) : void |
Clears a Queue regardless of message status
|
|
Count ( ) : int |
Gets the size of the queue
|
|
Delete ( |
Delete a message from the queue
|
|
Delete ( string id ) : void |
Delete a message from the queue
|
|
Get ( int max ) : IList |
Retrieves up to "max" messages from the queue
|
|
Get ( ) : |
Retrieves up to "max" messages from the queue
|
|
IronMQ ( string name, string projectId = null, string token = null ) : System |
Initializes a new instance of the IronMQ class.
|
|
Push ( IEnumerable |
Pushes messages onto the queue with an optional timeout
|
|
Push ( string msg, long timeout ) : void |
Pushes a message onto the queue with a timeout
|
|
Queues ( string projectId = null, string token = null, int page, int perPage = 30 ) : IList |
Get a list of all queues in a project. By default, 30 queues are listed at a time. To see more, use the page parameter or the per_page parameter. Up to 100 queues may be listed on a single page.
|
public Delete ( |
||
msg | Message to be deleted | |
Résultat | void |
public Delete ( string id ) : void | ||
id | string | Message Identifier |
Résultat | void |
public Get ( int max ) : IList |
||
max | int | the count of messages to return, default is 1 |
Résultat | IList |
public IronMQ ( string name, string projectId = null, string token = null ) : System | ||
name | string | Queue name |
projectId | string | Project identifier available from the HUD |
token | string | Token available from the HUD |
Résultat | System |
public Push ( IEnumerable |
||
msgs | IEnumerable |
Messages to be pushed |
timeout | long | The timeout of the messages to push. |
delay | long | Delay in seconds |
expires_in | long | Expires in seconds |
Résultat | void |
public Push ( string msg, long timeout ) : void | ||
msg | string | Message to be pushed. |
timeout | long | The timeout of the message to push. |
Résultat | void |
public static Queues ( string projectId = null, string token = null, int page, int perPage = 30 ) : IList |
||
projectId | string | Project identifier available from the HUD |
token | string | Token available from the HUD |
page | int | Page index (zero based) |
perPage | int | Number of results per page |
Résultat | IList |