public static interface Kestrel.Iface
Modifier and Type | Method and Description |
---|---|
int |
abort(String queue_name,
Set<Long> ids) |
int |
confirm(String queue_name,
Set<Long> ids) |
void |
delete_queue(String queue_name) |
void |
flush_all_queues() |
void |
flush_queue(String queue_name) |
String |
get_version() |
List<Item> |
get(String queue_name,
int max_items,
int timeout_msec,
int auto_abort_msec) |
QueueInfo |
peek(String queue_name) |
int |
put(String queue_name,
List<ByteBuffer> items,
int expiration_msec) |
int put(String queue_name, List<ByteBuffer> items, int expiration_msec) throws org.apache.thrift7.TException
org.apache.thrift7.TException
List<Item> get(String queue_name, int max_items, int timeout_msec, int auto_abort_msec) throws org.apache.thrift7.TException
org.apache.thrift7.TException
int confirm(String queue_name, Set<Long> ids) throws org.apache.thrift7.TException
org.apache.thrift7.TException
int abort(String queue_name, Set<Long> ids) throws org.apache.thrift7.TException
org.apache.thrift7.TException
QueueInfo peek(String queue_name) throws org.apache.thrift7.TException
org.apache.thrift7.TException
void flush_queue(String queue_name) throws org.apache.thrift7.TException
org.apache.thrift7.TException
void flush_all_queues() throws org.apache.thrift7.TException
org.apache.thrift7.TException
void delete_queue(String queue_name) throws org.apache.thrift7.TException
org.apache.thrift7.TException
String get_version() throws org.apache.thrift7.TException
org.apache.thrift7.TException