Cancels the submitted jobs, removing them from the exchange
Cancels the submitted jobs, removing them from the exchange
the request containing the jobs to cancel
a response containing a map between the input job Ids and a flag depicting if they were successfully cancelled
A convenience method where client requests can be sent through this single function which delegates to the appropriate method.
A convenience method where client requests can be sent through this single function which delegates to the appropriate method. The 'convenience' in this sense is in terms of pluggability into message handling systems such as actor systems, REST endpoints, etc.
the ClientResponse
A convenience method where subscription requests can be sent through this single function which delegates to the appropriate method.
A convenience method where subscription requests can be sent through this single function which delegates to the appropriate method. The 'convenience' in this sense is in terms of pluggability into message handling systems such as actor systems, REST endpoints, etc.
the SubscriptionResponse
Queue the state of the exchange
Queue the state of the exchange
the current queue state
Submit a job to the exchange and trigger a match for work.
Submit a job to the exchange and trigger a match for work.
If 'awaitMatch' is specified on the SubmitJob then the response will be a BlockingSubmitJobResponse. Otherwise it will just be sent to the exchange an immediately return a SubmitJobResponse.
If the submitted job already contains a jobId, then that id will be used and any existing submission with the same Id will be replaced.
either BlockingSubmitJobResponse or a SubmitJobResponse
Creates or updates a WorkSubscription, whose returned WorkSubscriptionAck key can be used to pull work items from the exchange.
Creates or updates a WorkSubscription, whose returned WorkSubscriptionAck key can be used to pull work items from the exchange.
If the request specifies a subscription key then any existing subscription with the given id will be updated by having its work details combined w/ the existing subscription
If no subscription key is supplied, then a new one will be generated and provided on the ack.
an ack containing the key needed to request work items
the number of work items to request
an ack which contains the current known total items requested
convenience method for pulling work items
convenience method for pulling work items
A default, ephemeral, non-thread-safe implementation of an exchange