STXXL
1.4.0
|
Public Member Functions | |
~disk_queues () | |
void | add_request (request_ptr &req, DISKID disk) |
bool | cancel_request (request_ptr &req, DISKID disk) |
Cancel a request. The specified request is canceled unless already being processed. However, cancelation cannot be guaranteed. Cancelled requests must still be waited for in order to ensure correct operation. More... | |
void | set_priority_op (request_queue::priority_op op) |
Changes requests priorities. More... | |
Protected Member Functions | |
disk_queues () | |
Protected Attributes | |
request_queue_map | queues |
Private Types | |
typedef stxxl::int64 | DISKID |
typedef std::map< DISKID, request_queue_type * > | request_queue_map |
typedef request_queue_impl_qwqr | request_queue_type |
Additional Inherited Members | |
Static Public Member Functions inherited from stxxl::singleton< disk_queues > | |
static instance_pointer | get_instance () |
|
private |
Definition at line 41 of file disk_queues.h.
|
private |
Definition at line 42 of file disk_queues.h.
|
private |
Definition at line 39 of file disk_queues.h.
|
inlineprotected |
Definition at line 46 of file disk_queues.h.
References stxxl::singleton< stats >::get_instance().
|
inline |
Definition at line 84 of file disk_queues.h.
|
inline |
Definition at line 52 of file disk_queues.h.
|
inline |
Cancel a request. The specified request is canceled unless already being processed. However, cancelation cannot be guaranteed. Cancelled requests must still be waited for in order to ensure correct operation.
req | request to cancel |
disk | disk number for disk that req was scheduled on |
true
iff the request was canceled successfully Definition at line 73 of file disk_queues.h.
|
inline |
Changes requests priorities.
op | one of:
|
Definition at line 96 of file disk_queues.h.
|
protected |
Definition at line 45 of file disk_queues.h.